Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
<small>
{% if build.owner %}
{{ _("Created %(when)s by %(author)s") % {
- "when" : locale.format_date(build.time_created, shorter=True),
+ "when" : locale.format_date(build.created_at, shorter=True),
"author" : build.owner,
} }}
{% else %}
- {{ _("Created %s") % locale.format_date(build.time_created, shorter=True) }}
+ {{ _("Created %s") % locale.format_date(build.created_at, shorter=True) }}
{% end %}
</small>
<div class="cell large-4 text-center">
{# Icon Bar #}
<ul class="menu simple align-center">
- {% if build.type == "release" %}
+ {% if build.owner %}
<li>
- <i class="fa-solid fa-truck" title="{{ _("Release Build") }}"></i>
+ <i class="fa-solid fa-flask" title="{{ _("Scratch Build") }}"></i>
</li>
- {% elif build.type == "scratch" %}
+ {% else %}
<li>
- <i class="fa-solid fa-flask" title="{{ _("Scratch Build") }}"></i>
+ <i class="fa-solid fa-truck" title="{{ _("Release Build") }}"></i>
</li>
{% end %}
<li>X</li>