{% extends "base.html" %} {% block title %}Calendario{% endblock %} {% block main %}
No se pudo leer la agenda pública del servidor de git, así que aquí abajo faltan los eventos del sitio. Los internos están todos.
{% endif %} {# Said above the grid rather than below it: on a phone the month is a column of days, and a line under thirty-one empty rows is a line nobody reads. The public agenda says the same thing in its own words (agenda.html). #} {% if not by_day %}No hay nada en {{ label }}.
{% endif %}| {{ day }} | {% endfor %}|
|---|---|
| {% else %} | {# The weekday travels with the number because on a phone the header row is hidden — the grid is a column there, and a day without its weekday is just an integer. `loop.index0` of this loop *is* the weekday, since each week is seven cells starting on Monday, so nothing has to be computed in Python. Above 640px .cal__weekday is display:none and the column header says it instead. #} {{ weekdays[loop.index0] }} {{ day }} {% for item in by_day.get(day, []) %} {% if item.starts_at %} {% endif %}{{ item.title }} {% if item.public %}público{% endif %} {% endfor %} {% if may_edit %} {# The day is carried into the form, so adding something to the 24th starts with the 24th already filled in. #} + {% endif %} | {% endif %} {% endfor %}
Los eventos marcados público están en vienalatina.com y los ve cualquiera. Los demás sólo se ven desde aquí.
{% endblock %}