work on website; fix stuffs on aircox too
This commit is contained in:
27
aircox_web/templates/aircox_web/program.html
Normal file
27
aircox_web/templates/aircox_web/program.html
Normal file
@ -0,0 +1,27 @@
|
||||
{% extends "aircox_web/article.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block headline %}
|
||||
<section class="is-size-5">
|
||||
{% for schedule in program.schedule_set.all %}
|
||||
<p>
|
||||
<strong>{{ schedule.datetime|date:"l H:i" }}</strong>
|
||||
<small>
|
||||
{{ schedule.get_frequency_display }}
|
||||
{% if schedule.initial %}
|
||||
{% with schedule.initial.date as date %}
|
||||
<span title="{% blocktrans %}Rerun of {{ date }}{% endblocktrans %}">
|
||||
/ {% trans "rerun" %}
|
||||
</span>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</small>
|
||||
</p>
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
||||
{{ block.super }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user