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.
---
.../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 fbe02f0..820c1a2 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() {
<td>[% c.students_count %]</td>
<td>
[% IF c.enabled == 'yes' %]
- <img src="[% interface %]/[% theme
%]/img/approve.gif" />
+ Yes
[% ELSE %]
- <img src="[% interface %]/[% theme
%]/img/deny.gif" />
+ No
[% END %]
</td>
[% END %]
--
1.7.9.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/