diff --git a/mobile/templates/mobile/_calendar_row.html b/mobile/templates/mobile/_calendar_row.html index fcc7af7..d53a8d9 100644 --- a/mobile/templates/mobile/_calendar_row.html +++ b/mobile/templates/mobile/_calendar_row.html @@ -1,27 +1,26 @@ {% load i18n %} {% comment %} One M3 agenda row -- included from calendar.html once per bucket. Expects - ``row`` ({event, pill_class, pill_label}) in scope. A 4px club-red left - border marks games; other kinds get a 3px colour bar (info for training, - warn for everything else) next to the date, per the design doc's M3 row - description. + ``row`` ({event, pill_class, pill_label}) in scope. A 3px colour bar next + to the date marks the event kind: club-red for games, info-blue for + training, warn-amber for everything else -- one consistent marker + position for every kind, rather than games getting a different + treatment (a left border on the whole row) from the rest. {% endcomment %} - +
{{ row.event.start|date:"D" }}
{{ row.event.start|date:"d" }}
- {% if row.event.kind != "game" %} -
- {% endif %} +
{{ row.event.title }}
{{ row.event.start|date:"H:i" }} {% if row.member %}· {{ row.member.first_name }}{% endif %} {% for team in row.event.teams.all %}· {{ team.name }}{% endfor %} - {% if row.event.location %}· {{ row.event.location.name }}{% endif %}
+ {% if row.event.location %}
{{ row.event.location.name }}
{% endif %}
{{ row.pill_label }}