Skip to content
Snippets Groups Projects
firmware.html 1.51 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("-content_title") %}
    {% 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 %}
            <i class="fas fa-code-branch"></i>
            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="fab fa-gitlab"></i> Site Git Repository</a><br>
            {% endif %}
            {% if content.gluon is not none %}
            <a href="{{content.gluon}}" ><i class="fab fa-gitlab"></i> Gluon Git Repository</a><br>
            {% endif %}
            {% if content.rtd is not none %}
            <a href="{{content.rtd}}" ><i class="fas fa-book"></i> Release Notes</a><br>
            {% endif %}
        </p>
        {% endif %}
        {{content.content_body}}
    {% endfor %}
    {% endwith %}
</div>
{% endblock %}