diff --git a/jarvis/core/templates/dashboard/dashboard.html b/jarvis/core/templates/dashboard/dashboard.html index 99bdb70..a76614d 100644 --- a/jarvis/core/templates/dashboard/dashboard.html +++ b/jarvis/core/templates/dashboard/dashboard.html @@ -27,7 +27,7 @@
Welcome to Jarvi v0.82 (last update : 20-05-2023)
+Welcome to Jarvi v0.83 (last update : 12-06-2023)
This application is here to help coaches to manage the gymnasts (evolution, evaluation, routines, scores, …). This tool is not perfect so feel free to make improvement proposals, bug reports, … by sending me an email.
You can find the user manuel here (in french).
{{ note.date | date:'j N Y' }}
{{ latest_published_note.date | date:'j N Y' }}
{{ latest_published_note.to_markdown | safe }}
@@ -53,14 +54,14 @@+ | Date | Title | Coach | @@ -73,12 +74,14 @@ - {% if not note.status %} - - {% endif %} -- {{ note.date | date:"d-m-Y" }} + | + {% if not note.status %} + {{ note.date | date:"j-m-Y" }} + {% else %} + {{ note.date | date:"j-m-Y" }} + {% endif %} + | diff --git a/jarvis/people/views.py b/jarvis/people/views.py index bf71306..1140e14 100644 --- a/jarvis/people/views.py +++ b/jarvis/people/views.py @@ -247,7 +247,7 @@ def gymnast_display_events_and_notes(request, gymnast_id): notes_list = base_queryset notes_list = notes_list.order_by("-created_at") - last_notes_list = notes_list[:5] + last_notes_list = notes_list[:6] latest_published_note = ( base_queryset.filter(status=1).order_by("-created_at").first() ) |
---|