# HG changeset patch # User Goffi # Date 1556261078 -7200 # Node ID cda2aad3eed0491239a8231cc89cc146576b5bf9 # Parent e5fdd7e137641f6e0dd56a33d5891e04c3e985dd base: "links" template variable can now be used: if "links" is present in template data, it must be a list of dictionaries, the dictionaries will be used as attributes for the "" elements in the header. diff -r e5fdd7e13764 -r cda2aad3eed0 sat_templates/templates/default/base/base.html --- a/sat_templates/templates/default/base/base.html Thu Apr 25 19:47:55 2019 +0200 +++ b/sat_templates/templates/default/base/base.html Fri Apr 26 08:44:38 2019 +0200 @@ -38,6 +38,12 @@ {% endif %} {% endif %} + {% if links is defined %} + {% for link_data in links %} + + {% endfor %} + {% endif %} + {% if xmpp_uri is defined %} {% endif %}