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 <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Owen Leonard 2013-06-10 14:21:11 -04:00 committed by Galen Charlton
parent edb8bddff0
commit 39de7a8de8

View file

@ -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 %]