Commit 8a5516dcac875b3560e60c196b090730826bd80f

Authored by fbormann
1 parent 8d450bce

fixed time presentation of the notification

app/templates/home_teacher_student_content.html
... ... @@ -17,7 +17,7 @@
17 17 <i class="fa fa-pencil-square-o" aria-hidden="true"></i>
18 18 <a href=""><h4 class="resource_inline"><b>{{ notification.user }}</b></h4></a>
19 19 <p class="resource_inline">{{notification.message}} em : <a href="{% url 'core:notification_read' notification.id %}">Recurso</a></p>
20   - <p class="timePost"><i>{{ notification.datetime }}</i></p>
  20 + <p class="timePost"><i> {{ notification.datetime|timesince }} {% trans "ago" %} </i></p>
21 21 </div>
22 22 </div>
23 23 </div>
... ...