aboutsummaryrefslogtreecommitdiff
path: root/altnavbar_i18n.patch
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:30:49 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:31:25 +0100
commit015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch)
tree81cf315da47e263a79a892428240502cf0f7d079 /altnavbar_i18n.patch
parentbf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff)
downloadhonk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz
honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip
shorter patch names, updated README.md, new Makefile
Diffstat (limited to 'altnavbar_i18n.patch')
-rw-r--r--altnavbar_i18n.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/altnavbar_i18n.patch b/altnavbar_i18n.patch
new file mode 100644
index 0000000..4c2fc10
--- /dev/null
+++ b/altnavbar_i18n.patch
@@ -0,0 +1,28 @@
+diff --git a/i18n_views/header.html b/usr/share/honk/views/header.html
+index 4f3373e..9e65c45 100644
+--- a/views/header.html
++++ b/views/header.html
+@@ -60,6 +60,23 @@
+ </form>
+ </ul>
+ </details>
++
++<!-- CUSTOM HONK NAVIGATION BAR -->
++ <div id="altnavbar">
++ <a href="/newhonk" tabindex="2">{{ .i18n.Newhonk }}</a> |
++ <a href="/front">{{ .i18n.Front }}</a> |
++ <a href="/">{{ .i18n.Home }}</a> |
++ <a href="/xzone">{{ .i18n.Xzone }}</a> |
++ <a href="/atme">{{ .i18n.Atme }}</a> |
++ <a href="/u/{{ .UserInfo.Username}}">{{ .i18n.Myhonks }}</a> |
++ <a href="/account">{{ .i18n.Account }}</a> |
++ <form style="display:inline" action="/q" method="GET">
++ <input type="text" tabindex="1" name="q" autocomplete="off"
++ size="10" placeholder="{{ .i18n.Search }}">
++ </form>
++ </div>
++<!-- END -->
++
+ <p id="topspacer"></p>
+ {{ else }}
+ <span><a id="homelink" href="/">{{ .i18n.Home }}</a></span>