forked from rc/aircox
calendar; init rel_post issue
This commit is contained in:
@ -1,25 +1,28 @@
|
||||
{% extends "aircox/cms/website.html" %}
|
||||
|
||||
{% block header %}
|
||||
{% spaceless %}
|
||||
<header>
|
||||
<a href="{% url exp.name key="render" year=prev_month.year month=prev_month.month %}"
|
||||
onclick="return Section.load_event(event);"><</a>
|
||||
|
||||
<time>{{ month|date:'F Y' }}</time>
|
||||
<h3>{{ today|date:'F Y' }}</h3>
|
||||
|
||||
<a href="{% url exp.name key="render" year=next_month.year month=next_month.month %}"
|
||||
onclick="return Section.load_event(event);">></a>
|
||||
</header>
|
||||
{% endspaceless %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% spaceless %}
|
||||
<div class="content">
|
||||
<div first_weekday="{{ first_weekday }}">
|
||||
{% for day, url in days %}
|
||||
<a href="{{ url }}">{{ day }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div first_weekday="{{ first_weekday }}"> </div>
|
||||
{% for day, url in days %}
|
||||
<a href="{{ url }}" {% if day == today.day %}class="today"{% endif %}>{{ day }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endspaceless %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user