bornhack-website/program/templates/program_base.html

24 lines
577 B
HTML

{% extends 'base.html' %}
{% block content %}
<a href="{% url 'program:index' %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
Overview
</a>
{% for day in days %}
{% with day.date|date:"m" as month_padded %}
{% with day.date|date:"d" as day_padded %}
<a href="{% url 'program:day' year=day.date.year month=month_padded day=day_padded %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
{{ day.date|date:"l" }}
</a>
{% endwith %}
{% endwith %}
{% endfor %}
<hr />
{% block program_content %}
{% endblock %}
{% endblock %}