Project

General

Profile

« Previous | Next » 

Revision 62685e1b

Added by Frédéric Péters over 11 years ago

Filter the formatted date with |lower to avoid uppercase in months (#4805)

View differences:

calebasse/templates/calebasse/datesel.html
<div id="datesel">
<a id="arrow" href="{% url url_name date=previous_month service=service %}" class="prev-month" title=""></a>
<a id="arrow" href="{% url url_name date=previous_day service=service %}" class="prev-day"></a>
<input data-url="{% url url_name date=date service=service %}" id="date-selector" value="{{ date|date:"DATE_FORMAT"|title}} ({{date|date:"W"}})" readonly="readonly" />
<input data-url="{% url url_name date=date service=service %}" id="date-selector" value="{{ date|date:"DATE_FORMAT"|lower}} ({{date|date:"W"}})" readonly="readonly" />
<a id="arrow" href="{% url url_name date=next_day service=service %}" class="next-day"></a>
<a id="arrow" href="{% url url_name date=next_month service=service %}" class="next-month"></a>
{% if date != today %}<a id="datesel-today-link" href="{% url url_name service=service date=today %}">Aujourd'hui</a>{% endif %}

Also available in: Unified diff