Commit b63600101103ed4383b098462a8092809e8eb2af
1 parent
0cdc727d
Exists in
master
and in
5 other branches
Breadcrumbs in home pages ... student and professor #25
Showing
3 changed files
with
7 additions
and
17 deletions
Show diff stats
app/templates/home_app.html
app/templates/home_professor.html
... | ... | @@ -3,13 +3,9 @@ |
3 | 3 | {% load i18n %} |
4 | 4 | |
5 | 5 | {% block breadcrumbs %} |
6 | - <div class="row"> | |
7 | - <div class="col-md-12"> | |
8 | - <ul class="breadcrumb"> | |
9 | - <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
10 | - </ul> | |
11 | - </div> | |
12 | - </div> | |
6 | + <ol class="breadcrumb"> | |
7 | + <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
8 | + </ol> | |
13 | 9 | {% endblock %} |
14 | 10 | |
15 | 11 | {% block sidebar %} | ... | ... |
app/templates/home_student.html
... | ... | @@ -3,11 +3,9 @@ |
3 | 3 | {% load i18n %} |
4 | 4 | |
5 | 5 | {% block breadcrumbs %} |
6 | - <div class="row"> | |
7 | - {% for breadcrumb in breadcrumbs %} | |
8 | - <a href="{{ breadcrumb.url }}">{{ breadcrumb.text }}</a> | |
9 | - {% endfor %} | |
10 | - </div> | |
6 | + <ol class="breadcrumb"> | |
7 | + <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
8 | + </ol> | |
11 | 9 | {% endblock %} |
12 | 10 | |
13 | 11 | {% block sidebar %} |
... | ... | @@ -26,6 +24,7 @@ |
26 | 24 | {% endblock %} |
27 | 25 | |
28 | 26 | {% block content %} |
27 | + | |
29 | 28 | <h3>{% trans 'Notifications' %}</h3> |
30 | 29 | {% if messages %} |
31 | 30 | {% for message in messages %} | ... | ... |