Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
</nav>
<h1 class="title">{{ release }}</h1>
- <h4 class="subtitle is-4">
+
+ <h6 class="subtitle is-6">
{% if release.stable %}
<span class="tag is-success">
{{ _("Stable Release") }}
{{ _("Development Release") }}
</span>
{% endif %}
- </h4>
+
+ {# Published? #}
+ {% if release.is_published() %}
+ {{ _("Published %s") % release.published_at | format_date(shorter=True) }}
+ {% endif %}
+ </h6>
</div>
</div>
</section>
{# Release Date #}
<div class="level-item">
{% if release.is_published() %}
- {{ locale.format_date(release.published_at) }}
+ {{ release.published_at | format_date(shorter=True) }}
{% else %}
<span class="has-text-warning">
{{ _("Not published, yet") }}