Commit a3ff98eff2412340caa07b8a0f2b327d5a40d755

Authored by Ailson da Cruz
1 parent d407860a

Adding message to home student template #&

Showing 1 changed file with 10 additions and 0 deletions   Show diff stats
app/templates/home_student.html
... ... @@ -27,6 +27,16 @@
27 27  
28 28 {% block content %}
29 29 <h3>{% trans 'Notifications' %}</h3>
  30 + {% if messages %}
  31 + {% for message in messages %}
  32 + <div class="alert alert-success alert-dismissible" role="alert">
  33 + <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  34 + <span aria-hidden="true">&times;</span>
  35 + </button>
  36 + <p>{{ message }}</p>
  37 + </div>
  38 + {% endfor %}
  39 + {% endif %}
30 40 <div class="panel panel-default">
31 41 <div class="panel-body">
32 42 His course has notified a new activity!
... ...