Skip to content
Snippets Groups Projects
Commit cf074bbd authored by chrissi^'s avatar chrissi^
Browse files

template: firmware: small improvments


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent c60f0071
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
</div>
{{ content.content_body }}
{% with contents=context.contents.filter(path__startswith="firmware/v").order_by("date") %}
{% 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%}
......@@ -20,15 +20,19 @@
<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>
<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="fas fa-code-branch"></i> Site</a><br>
<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="fas fa-code-branch"></i> Gluon</a><br>
<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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment