code.gitea.io/gitea@v1.22.3/templates/base/footer_content.tmpl (about) 1 <footer class="page-footer" role="group" aria-label="{{ctx.Locale.Tr "aria.footer"}}"> 2 <div class="left-links" role="contentinfo" aria-label="{{ctx.Locale.Tr "aria.footer.software"}}"> 3 {{if ShowFooterPoweredBy}} 4 <a target="_blank" rel="noopener noreferrer" href="https://about.gitea.com">{{ctx.Locale.Tr "powered_by" "Gitea"}}</a> 5 {{end}} 6 {{if (or .ShowFooterVersion .PageIsAdmin)}} 7 {{ctx.Locale.Tr "version"}}: 8 {{if .IsAdmin}} 9 <a href="{{AppSubUrl}}/admin/config">{{AppVer}}</a> 10 {{else}} 11 {{AppVer}} 12 {{end}} 13 {{end}} 14 {{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}} 15 {{ctx.Locale.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> 16 {{ctx.Locale.Tr "template"}}{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong> 17 {{end}} 18 </div> 19 <div class="right-links" role="group" aria-label="{{ctx.Locale.Tr "aria.footer.links"}}"> 20 <div class="ui dropdown upward language"> 21 <span class="flex-text-inline">{{svg "octicon-globe" 14}} {{ctx.Locale.LangName}}</span> 22 <div class="menu language-menu"> 23 {{range .AllLangs}} 24 <a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq ctx.Locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a> 25 {{end}} 26 </div> 27 </div> 28 <a href="{{AssetUrlPrefix}}/licenses.txt">{{ctx.Locale.Tr "licenses"}}</a> 29 {{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}} 30 {{template "custom/extra_links_footer" .}} 31 </div> 32 </footer>