[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ops-www] 01/05: extract nav items to file for sharing in 2
From: |
gnunet |
Subject: |
[taler-taler-ops-www] 01/05: extract nav items to file for sharing in 2 diff states |
Date: |
Sun, 25 Feb 2024 04:23:10 +0100 |
This is an automated email from the git hooks/post-receive script.
nora pushed a commit to branch master
in repository taler-ops-www.
commit 3317f643ef54afa2a18fdc46613ba8e5d4de6845
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sun Feb 25 03:52:52 2024 +0100
extract nav items to file for sharing in 2 diff states
---
common/navigation-items.j2.inc | 20 ++++++++++++++++++++
common/navigation.j2.inc | 30 +++++++-----------------------
2 files changed, 27 insertions(+), 23 deletions(-)
diff --git a/common/navigation-items.j2.inc b/common/navigation-items.j2.inc
new file mode 100644
index 0000000..e64d319
--- /dev/null
+++ b/common/navigation-items.j2.inc
@@ -0,0 +1,20 @@
+<ul class="navbar-nav menu_sec">
+ <li>
+ <a href="{{ url_localized('index.html') }}"
+ >{% trans %}Home{% endtrans %}</a
+ >
+ </li>
+ <li>
+ <a href="{{ url_localized('merchants.html') }}"
+ >{% trans %}For Merchants{% endtrans %}</a
+ >
+ </li>
+ <li>
+ <a href="{{ url_localized('users.html') }}"
+ >{% trans %}For Users{% endtrans %}</a
+ >
+ </li>
+ <li>
+ <a href="{{ url_localized('fees.html') }}">{% trans %}Fees{% endtrans
%}</a>
+ </li>
+</ul>
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index 7cb64c7..6ab006e 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -1,5 +1,10 @@
<header class="header_sec newheader">
- <a id="skip" tabindex="0" href="#maincontent"
+ <a
+ id="skip"
+ tabindex="0"
+ href="#maincontent"
+ role="link"
+ aria-label="Skip to the main content of the page"
>{%trans%}Skip to main content{%endtrans%}</a
>
<div class="container">
@@ -26,28 +31,7 @@
class="collapse navbar-collapse justify-content-end"
id="navbarSupportedContent"
>
- <ul class="navbar-nav menu_sec">
- <li>
- <a href="{{ url_localized('index.html') }}"
- >{% trans %}Home{% endtrans %}</a
- >
- </li>
- <li>
- <a href="{{ url_localized('merchants.html') }}"
- >{% trans %}For Merchants{% endtrans %}</a
- >
- </li>
- <li>
- <a href="{{ url_localized('users.html') }}"
- >{% trans %}For Users{% endtrans %}</a
- >
- </li>
- <li>
- <a href="{{ url_localized('fees.html') }}"
- >{% trans %}Fees{% endtrans %}</a
- >
- </li>
- </ul>
+ {% include "common/navigation-items.j2.inc" %}
<div class="nav-item dropdown">
<button
class="btn btn-light dropdown-toggle"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ops-www] branch master updated (26a9e59 -> 6d06e9c), gnunet, 2024/02/24
- [taler-taler-ops-www] 01/05: extract nav items to file for sharing in 2 diff states,
gnunet <=
- [taler-taler-ops-www] 03/05: handle head properly in users.html.j2, modify header, gnunet, 2024/02/24
- [taler-taler-ops-www] 04/05: Improve opengraph tags everywhere, gnunet, 2024/02/24
- [taler-taler-ops-www] 02/05: move end to after main, gnunet, 2024/02/24
- [taler-taler-ops-www] 05/05: we want the individual pages to provide embed info!!!, gnunet, 2024/02/24