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