Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
commit 300afac82efaf9abc680f97dc3d28d8a17296acd Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Tue Nov 6 19:42:31 2012 +0100
Adjust the agenda template to format the date correctly as well as use the new filter for the week heading
fedocal/templates/agenda.html | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/fedocal/templates/agenda.html b/fedocal/templates/agenda.html index 54af0b4..a22d63b 100644 --- a/fedocal/templates/agenda.html +++ b/fedocal/templates/agenda.html @@ -19,16 +19,14 @@ <nav id="weeks"> <a href="{{url_for('calendar_fullday', calendar_name=calendar.calendar_name, year=prev_week.year, - month=prev_week.month, day=prev_week.day)}}"> - << Previous week - </a> | - <a href="{{url_for('calendar', calendar_name=calendar.calendar_name)}}"> - current week - </a> | + month=prev_week.month, day=prev_week.day)}}" class="button"> + < + </a> + {{ weekdays | WeekHeading }} <a href="{{url_for('calendar_fullday', calendar_name=calendar.calendar_name, year=next_week.year, - month=next_week.month, day=next_week.day)}}"> - Next week >> + month=next_week.month, day=next_week.day)}}" class="button"> + > </a> </nav> {% endif %} @@ -37,7 +35,7 @@ <tr> <th></th> {% for day in weekdays %} - <th> {{ day }}</th> + <th> {{ day.strftime('%A %d') }}</th> {% endfor %} </tr> {% for time_entry in meetings |sort %}
fedocal-devel@lists.fedorahosted.org