diff options
| author | Alban Gruin | 2018-04-25 09:42:24 +0200 | 
|---|---|---|
| committer | Alban Gruin | 2018-04-25 09:42:24 +0200 | 
| commit | 4c82869e3a590c982c43958e3e4b0f9fad440678 (patch) | |
| tree | f9fc3eed1db9a0c033dc991d5d28bc10ea692079 /templates | |
| parent | fb3a3bc214b071083325a75a9546331150eaa8a5 (diff) | |
templates: remplacement de dt_prettyprint par date
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/group_list.html | 2 | ||||
| -rw-r--r-- | templates/group_weeks_list.html | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/group_list.html b/templates/group_list.html index bca8c70..d88f144 100644 --- a/templates/group_list.html +++ b/templates/group_list.html @@ -6,7 +6,7 @@  {% block lelement %}<a class="text"{% if element.weeks is not None %} href="{% block gurl %}{% url "timetable" timetable.year.slug timetable.slug element.slug %}{% endblock %}"{% endif %}>{{ element }}</a> —  {% for week in element.weeks %} -  <a href="{% block wurl %}{% url "timetable" timetable.year.slug timetable.slug element.slug week.year week|dt_week %}{% endblock %}">{{ week|dt_prettyprint }}</a> {% if not forloop.last %}– {% endif %} +  <a href="{% block wurl %}{% url "timetable" timetable.year.slug timetable.slug element.slug week.year week|dt_week %}{% endblock %}">{{ week|date:"Y/m/d" }}</a> {% if not forloop.last %}– {% endif %}  {% empty %}    <em>aucun cours dans le mois à venir</em>  {% endfor %} diff --git a/templates/group_weeks_list.html b/templates/group_weeks_list.html index c348d5d..baf312e 100644 --- a/templates/group_weeks_list.html +++ b/templates/group_weeks_list.html @@ -4,5 +4,5 @@  {% block title %}Semaines du groupe {{ group }} – {% endblock %}  {% block pagetitle %}Semaines du groupe {{ group }}{% endblock %}  {% block url %}{% url "timetable" timetable.year.slug timetable.slug group.slug element.year element|dt_week %}{% endblock %} -{% block element %}{{ element|dt_prettyprint }} (semaine {{ element|dt_week }}){% endblock %} +{% block element %}{{ element|date:"Y/m/d" }} (semaine {{ element|dt_week }}){% endblock %}  {% block navigation %}<a href="{% url "groups" timetable.year.slug timetable.slug %}">Liste des groupes</a>{% endblock %}  | 
