diff options
author | Bagas Sanjaya <bagasdotme@gmail.com> | 2020-01-04 01:41:56 +0700 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2020-01-03 20:41:56 +0200 |
commit | 34c5eee703e8904f9eae662bc774ef0b26656799 (patch) | |
tree | 5df64b13e49cb181b23a68de29fdf54137154e5b /templates | |
parent | ea707f5a77d83d023cb02ce8e44c4b95ac83ef30 (diff) | |
download | gitea-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.tmpl | 1 | ||||
-rw-r--r-- | templates/custom/extra_links_footer.tmpl | 0 |
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 |