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
@@ -3,11 +3,6 @@ | @@ -3,11 +3,6 @@ | ||
3 | {% load i18n %} | 3 | {% load i18n %} |
4 | 4 | ||
5 | {% block breadcrumbs %} | 5 | {% block breadcrumbs %} |
6 | - <div class="row"> | ||
7 | - <div class="col-md-12"> | ||
8 | - <h4>{{ user }}</h4> | ||
9 | - </div> | ||
10 | - </div> | ||
11 | <div class="row"> | 6 | <div class="row"> |
12 | <div class="col-md-12"> | 7 | <div class="col-md-12"> |
13 | <ul class="breadcrumb" style="margin-bottom: 5px;"> | 8 | <ul class="breadcrumb" style="margin-bottom: 5px;"> |
app/templates/home_professor.html
@@ -3,13 +3,9 @@ | @@ -3,13 +3,9 @@ | ||
3 | {% load i18n %} | 3 | {% load i18n %} |
4 | 4 | ||
5 | {% block breadcrumbs %} | 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 | {% endblock %} | 9 | {% endblock %} |
14 | 10 | ||
15 | {% block sidebar %} | 11 | {% block sidebar %} |
app/templates/home_student.html
@@ -3,11 +3,9 @@ | @@ -3,11 +3,9 @@ | ||
3 | {% load i18n %} | 3 | {% load i18n %} |
4 | 4 | ||
5 | {% block breadcrumbs %} | 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 | {% endblock %} | 9 | {% endblock %} |
12 | 10 | ||
13 | {% block sidebar %} | 11 | {% block sidebar %} |
@@ -26,6 +24,7 @@ | @@ -26,6 +24,7 @@ | ||
26 | {% endblock %} | 24 | {% endblock %} |
27 | 25 | ||
28 | {% block content %} | 26 | {% block content %} |
27 | + | ||
29 | <h3>{% trans 'Notifications' %}</h3> | 28 | <h3>{% trans 'Notifications' %}</h3> |
30 | {% if messages %} | 29 | {% if messages %} |
31 | {% for message in messages %} | 30 | {% for message in messages %} |