summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2020-01-04 01:41:56 +0700
committerLauris BH <lauris@nix.lv>2020-01-03 20:41:56 +0200
commit34c5eee703e8904f9eae662bc774ef0b26656799 (patch)
tree5df64b13e49cb181b23a68de29fdf54137154e5b /templates
parentea707f5a77d83d023cb02ce8e44c4b95ac83ef30 (diff)
downloadgitea-34c5eee703e8904f9eae662bc774ef0b26656799.tar.gz
gitea-34c5eee703e8904f9eae662bc774ef0b26656799.zip
Add footer extra links template (#9576)
* Add footer extra links template * [Docs] Update to mention extra links footer template * Commit suggestion from @davidsvantesson Co-Authored-By: David Svantesson <davidsvantesson@gmail.com> * Move template placement to right side of footer Co-authored-by: David Svantesson <davidsvantesson@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates')
-rw-r--r--templates/base/footer_content.tmpl1
-rw-r--r--templates/custom/extra_links_footer.tmpl0
2 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index 364e58a3d0..085e7207df 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -19,6 +19,7 @@
<a href="{{StaticUrlPrefix}}/vendor/librejs.html" data-jslicense="1">JavaScript licenses</a>
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
<a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
+ {{template "custom/extra_links_footer" .}}
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
</div>
</div>
diff --git a/templates/custom/extra_links_footer.tmpl b/templates/custom/extra_links_footer.tmpl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/templates/custom/extra_links_footer.tmpl