From 39de7a8de855c61a50191c9b3fca5b6480e10f92 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Jun 2013 14:21:11 -0400 Subject: [PATCH] Bug 10432 - Display of enabled status on course list is not accessible The list of courses in Course Reserves uses an image with no alt attribute to display the enabled/disabled status of each course. This is not accessible or valid HTML. This patch removes the image altogether in favor of a simple "Yes" or "No." To test, view the list of existing course reserves. Enabled and disabled courses should show "yes" or "no" in the "Enabled" column. Signed-off-by: Galen Charlton Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt index fbe02f02c2..820c1a2bcb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt @@ -95,9 +95,9 @@ $(document).ready(function() { [% c.students_count %] [% IF c.enabled == 'yes' %] - + Yes [% ELSE %] - + No [% END %] [% END %] -- 2.11.0