[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: add missing file
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: add missing file |
Date: |
Mon, 12 Oct 2020 14:24:36 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new 69575fc add missing file
69575fc is described below
commit 69575fc3936772d8b2284863c22d2fc28cdd1832
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Oct 12 14:24:34 2020 +0200
add missing file
---
.gitignore | 1 +
talermerchantdemos/templates/menu.html.j2 | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/.gitignore b/.gitignore
index 65d5b00..d2dbb85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ talermerchantdemos/static/*.css
talermerchantdemos/static/navbar.css.map
translations/de/LC_MESSAGES/messages.mo
config.mk
+*~
diff --git a/talermerchantdemos/templates/menu.html.j2
b/talermerchantdemos/templates/menu.html.j2
new file mode 100644
index 0000000..e029c4a
--- /dev/null
+++ b/talermerchantdemos/templates/menu.html.j2
@@ -0,0 +1,25 @@
+{% macro menu(active) -%}
+<div style="display:flex; flex-direction: column;" class="navcontainer">
+ <nav class="demolist">
+ <a href="{{ env('TALER_ENV_URL_INTRO', '#') }}"
+ {% if active == 'landing' %} class="active" {% endif %}
+ >{{gettext("Introduction")}}</a>
+ <a href="{{ env('TALER_ENV_URL_BANK', '#') }}"
+ {% if active == 'bank' %} class="active" {% endif %}
+ >{{gettext("Bank")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') }}"
+ {% if active == 'blog' %} class="active" {% endif %}
+ >{{gettext("Essay Shop")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') }}"
+ {% if active == 'donations' %} class="active" {% endif %}
+ >{{gettext("Donations")}}</a>
+ <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') }}"
+ {% if active == 'survey' %} class="active" {% endif %}
+ >{{gettext("Tipping/Survey")}}</a>
+ <!-- a href="{{ env('TALER_ENV_URL_BACKOFFICE', '#') }}"
+ {% if active == 'backoffice' %} class="active" {% endif %}
+ >{{gettext("Back-office")}}</a -->
+ {% include 'templates/language-switcher.html.j2' %}
+ </nav>
+</div>
+{%- endmacro %}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.