Add forgejo/gitea/templates/base/footer_content.tmpl

This commit is contained in:
Korbs 2024-12-20 01:08:46 -05:00
parent d8487d977a
commit b0d147d448

View file

@ -0,0 +1,18 @@
<footer class="page-footer" role="group" aria-label="{{ctx.Locale.Tr "aria.footer"}}">
<div class="left-links" role="contentinfo" aria-label="{{ctx.Locale.Tr "aria.footer.software"}}"></div>
<div class="right-links" role="group" aria-label="{{ctx.Locale.Tr "aria.footer.links"}}">
<div class="ui dropdown upward language">
<span class="flex-text-inline">{{svg "octicon-globe" 14}} {{ctx.Locale.LangName}}</span>
<div class="menu language-menu">
{{range .AllLangs}}
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq ctx.Locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
{{end}}
</div>
</div>
<a href="https://sudovanilla.org/umbrella-policy/">Umbrella Policy</a>
<a href="https://sudovanilla.org/privacy-policy/">Privacy Policy</a>
<a href="https://sudovanilla.org/changelog/">Changelog</a>
<a href="{{AssetUrlPrefix}}/licenses.txt">{{ctx.Locale.Tr "licenses"}}</a>
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
</div>
</footer>