forked from rc/aircox
small fixes in templates
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
{% with frequency=schedule.get_frequency_display day=schedule.date|date:'l' %}
|
||||
{% with start=schedule.date|date:"H:i" end=schedule.end|date:"H:i" %}
|
||||
{% blocktrans trimmed %}
|
||||
{{ day }} {{ start }} until {{ end }}, {{ frequency }}
|
||||
{{ day }} at {{ start }} until {{ end }}, <span class="info">{{ frequency }}</span>
|
||||
{% endblocktrans %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
@ -41,11 +41,13 @@
|
||||
{% else %}
|
||||
{# detail view #}
|
||||
<div class="content">
|
||||
{% if page.body %}
|
||||
<section class="body">
|
||||
{{ page.body|richtext}}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if page.links %}
|
||||
{% if page.links.count %}
|
||||
{% include "aircox_cms/sections/section_link_list.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
{% block content %}
|
||||
{% spaceless %}
|
||||
<div class="meta">
|
||||
{% with ancestors=page.get_ancestors %}
|
||||
{% if ancestors|length != 1 %}
|
||||
<div class="link_list">
|
||||
<img src="{% static "aircox/images/home.png" %}"
|
||||
alt="{% trans "Parent pages" %}"
|
||||
@ -19,6 +21,8 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
{% with list_page=settings.cms.WebsiteSettings.list_page %}
|
||||
{% if list_page and page.tags.count %}
|
||||
|
Reference in New Issue
Block a user