Add alt attribute to hot course icons - refs CT#8330

remotes/angel/1.11.x
Yannick Warnier 8 years ago
parent d78df13740
commit 9fcaeebfea
  1. 4
      main/template/default/layout/hot_course_item.tpl
  2. 4
      main/template/default/layout/hot_course_item_popup.tpl

@ -3,7 +3,7 @@
<div class="col-xs-12 col-sm-6 col-md-4">
<div class="items items-hotcourse">
<div class="image">
<img src="{{ item.course_image_large }}" class="img-responsive">
<img src="{{ item.course_image_large }}" class="img-responsive" alt="{{ item.title }}">
{% if item.categoryName != '' %}
<span class="category">{{ item.categoryName }}</span>
<div class="cribbon"></div>
@ -14,7 +14,7 @@
{% set counter = counter + 1 %}
{% if counter <= 3 %}
<a href="{{ teacher.url }}" class="ajax" data-title="{{ teacher.firstname }} {{ teacher.lastname }}">
<img src="{{ teacher.avatar }}"/>
<img src="{{ teacher.avatar }}" alt="{{ teacher.firstname }} {{ teacher.lastname }}"/>
</a>
<div class="teachers-details">
<h5>

@ -3,12 +3,12 @@
<div class="row">
<div class="col-sm-3">
<div class="thumbnail">
<img src="{{ hot_course.extra_info.course_image }}" />
<img src="{{ hot_course.extra_info.course_image }}" alt="{{ hot_course.extra_info.title }}" />
</div>
</div>
<div class="col-sm-9">
<div class="categories-course-description">
<h3>{{ hot_course.extra_info.title}}</h3>
<h3>{{ hot_course.extra_info.title }}</h3>
<h5>{{ hot_course.extra_info.teachers }}</h5>
{# hot_course.extra_info.rating_html #}
</div>

Loading…
Cancel
Save