Skip to content
Snippets Groups Projects
firmware.html 1.29 KiB
Newer Older
{% extends "base.html" %}


{% block content %}
<div class="container" >
    <div class="page-header" >
        <h1>{{ content.content_title }}</h1>
    </div>
    {{ content.content_body }}

    {% with contents=context.contents.filter(path__startswith="firmware/v").order_by("date") %}
    {% for content in contents %}
        <h2>{{content.content_title}}</h2>
        {% if content.date is not none%}
        <p>
            <em>Freigegeben: {{ content.date }}</em>
        </p>
        {% endif %}
        {% if content.branches is not none %}
        <p>
            {% with branches=content.branches %}
            {% for branch in branches %}
                Freigeben in {{ branch["channel"] }}
                als <i>{{branch["name"]}}</i>{% if branch["date"] is defined %} am {{branch["date"]}}{% endif %}.<br>
            {% endfor %}
            {% endwith %}
            {% if content.site is not none %}
            <a href="{{content.site}}" ><i class="fas fa-code-branch"></i> Site</a><br>
            {% endif %}
            {% if content.gluon is not none %}
            <a href="{{content.gluon}}" ><i class="fas fa-code-branch"></i> Gluon</a><br>
            {% endif %}
        </p>
        {% endif %}
        {{content.content_body}}
    {% endfor %}
    {% endwith %}
</div>
{% endblock %}