Skip to content
Snippets Groups Projects
Commit 86bc26c1 authored by Yacine Chalabi's avatar Yacine Chalabi
Browse files

ADD partners sidebar

parent f89a4558
No related branches found
No related tags found
No related merge requests found
......@@ -146,3 +146,5 @@ msgstr ""
msgid "Lang"
msgstr ""
msgid "Partners"
msgstr ""
\ No newline at end of file
......@@ -10,7 +10,7 @@
{% include 'includes/sidebar/series.html' %}
{% include 'includes/sidebar/github.html' %}
{% include 'includes/sidebar/twitter_timeline.html' %}
{% include 'includes/sidebar/links.html' %}
{% include 'includes/sidebar/partners.html' %}
{% include 'includes/sidebar/authors.html' %}
{% include 'includes/sidebar/images.html' %}
{% include 'includes/sidebar/archive.html' %}
......
{% if PARTNERS and PARTNERS_ENGLISH %}
{% from 'includes/sidebar/macros.jinja' import title %}
<!-- Sidebar/Links -->
<li class="list-group-item d-flex flex-column bg-secondary pl-5">
<h4>
<!--<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-arrow-up-right-square-fill" viewBox="0 0 16 16">
<path d="M14 0a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12zM5.904 10.803 10 6.707v2.768a.5.5 0 0 0 1 0V5.5a.5.5 0 0 0-.5-.5H6.525a.5.5 0 1 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 .707.707z"/>
</svg>-->
<i class="fas fa-external-link-square-alt"></i>
{{ title(_('Partners'), DISABLE_SIDEBAR_TITLE_ICONS, icon="external-link-square") }}</h4>
<ul class="@-group" id="links">
{% if LOCALE | first == 'en_US.UTF-8' %}
{% for name, link in PARTNERS_ENGLISH %}
<li class="list-group-item ml-0">
<a href="{{ link }}" target="_blank">{{ name }}</a>
</li>
{% endfor %}
{% else %}
{% for name, link in PARTNERS %}
<li class="list-group-item ml-0">
<a href="{{ link }}" target="_blank">{{ name }}</a>
</li>
{% endfor %}
{% endif %}
</ul>
</li>
<!-- End Sidebar/Links -->
{% endif %}
No preview for this file type
......@@ -147,3 +147,6 @@ msgstr "Article següent"
msgid "Lang"
msgstr "Idioma"
#: templates/includes/partners.html:14
msgid "Partners"
msgstr "Socis"
\ No newline at end of file
No preview for this file type
......@@ -149,3 +149,6 @@ msgstr "Sprache"
#~ msgid "Related Posts:"
#~ msgstr "Verwandte Beiträge"
#: templates/includes/partners.html:14
msgid "Partners"
msgstr "Partner"
\ No newline at end of file
No preview for this file type
......@@ -149,3 +149,6 @@ msgstr "Langue"
#~ msgid "Related Posts:"
#~ msgstr "Articles connexes"
#: templates/includes/partners.html:14
msgid "Partners"
msgstr "Partenaires"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment