Commit 8f6c2ef1dbf61c28dff37734a05757a90de7d0ca
1 parent
098dd7f4
Exists in
master
and in
2 other branches
Carousel modifications
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
subjects/templates/subjects/home.html
... | ... | @@ -31,6 +31,11 @@ |
31 | 31 | {% for new in news %} |
32 | 32 | <div class="item {% if forloop.first %}active{% endif %}" style="text-align:center"> |
33 | 33 | <span><a href="{% url 'news:view' new.slug %}"> <img src="{% if new.image %}{{ new.image.url }}{% endif %}" alt="Image"> </a></span> |
34 | + <!-- <div class="container">--> | |
35 | + <div class="carousel-caption"> | |
36 | + <span><a href="{% url 'news:view' new.slug %}"> {% if new.title %}{{new.title}}{% endif %} </a></span> | |
37 | + </div> | |
38 | + <!--</div>--> | |
34 | 39 | </div> |
35 | 40 | {% endfor %} |
36 | 41 | ... | ... |