Commit 87870b17c2659c280f491f6f9804a793237c7701
1 parent
02428a7f
Exists in
master
and in
2 other branches
Updated carroussel
Showing
1 changed file
with
0 additions
and
23 deletions
Show diff stats
subjects/templates/subjects/initial.html
... | ... | @@ -18,7 +18,6 @@ |
18 | 18 | |
19 | 19 | |
20 | 20 | <!-- Wrapper for slides --> |
21 | - {% if user.is_staff %} | |
22 | 21 | <div id="myCarousel" class="carousel slide " data-ride="carousel"> |
23 | 22 | <!-- Indicators --> |
24 | 23 | <ol class="carousel-indicators"> |
... | ... | @@ -31,7 +30,6 @@ |
31 | 30 | <div class="carousel-inner" role="listbox"> |
32 | 31 | {% for new in news %} |
33 | 32 | <div class="item" style="text-align:center"> |
34 | - <h3> {{new.title}}</h3> | |
35 | 33 | <span><a href="{% url 'news:view' new.slug %}"> <img src="{{ new.image.url }}" alt="Image"> </a></span> |
36 | 34 | </div> |
37 | 35 | {% endfor %} |
... | ... | @@ -69,27 +67,6 @@ |
69 | 67 | <span class="sr-only">Next</span> |
70 | 68 | </a> |
71 | 69 | </div> |
72 | - {% else %} | |
73 | - | |
74 | - <h2 class=" my-subjects-title"><b><i>{% trans "Most popular keywords" %}</i></b></h2> | |
75 | - <div id="" class="col-md-12"> | |
76 | - <div class="users-cloud div-users-cloud"> | |
77 | - <ul class=" users-cloud"> | |
78 | - {% for tag in tags %} | |
79 | - {% if tag.1 == 0 %} | |
80 | - <li class="big"><a href="{% url 'subjects:search' %}?search={{tag.0}}">{{tag.0}}</a></li> | |
81 | - {% elif tag.1 == 1 %} | |
82 | - <li class="medium"><a href="{% url 'subjects:search' %}?search={{tag.0}}">{{tag.0}}</a></li> | |
83 | - {% else %} | |
84 | - <li class="small"><a href="{% url 'subjects:search' %}?search={{tag.0}}">{{tag.0}}</a></li> | |
85 | - {% endif %} | |
86 | - | |
87 | - | |
88 | - {% endfor %} | |
89 | - </ul> | |
90 | - </div> | |
91 | - </div> | |
92 | - {% endif %} | |
93 | 70 | |
94 | 71 | |
95 | 72 | ... | ... |