2018-09-07 02:59:06 +00:00
|
|
|
<footer>
|
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui left">
|
2022-08-13 01:34:53 +00:00
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.locale.Tr "powered_by" "Gitea"}}</a>
|
2022-03-23 01:15:54 +00:00
|
|
|
{{if (or .ShowFooterVersion .PageIsAdmin)}}
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "version"}}:
|
2022-03-23 01:15:54 +00:00
|
|
|
{{if .IsAdmin}}
|
|
|
|
<a href="{{AppSubUrl}}/admin/config">{{AppVer}}</a>
|
|
|
|
{{else}}
|
|
|
|
{{AppVer}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2022-04-19 23:30:09 +00:00
|
|
|
{{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong>
|
2022-10-08 03:53:42 +00:00
|
|
|
{{.locale.Tr "template"}}{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>
|
2022-03-23 01:15:54 +00:00
|
|
|
{{end}}
|
2018-09-07 02:59:06 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui right links">
|
|
|
|
{{if .ShowFooterBranding}}
|
2020-10-21 21:07:33 +00:00
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea">{{svg "octicon-mark-github"}}<span class="sr-only">GitHub</span></a>
|
2018-09-07 02:59:06 +00:00
|
|
|
{{end}}
|
|
|
|
<div class="ui language bottom floating slide up dropdown link item">
|
2020-10-21 21:07:33 +00:00
|
|
|
{{svg "octicon-globe"}}
|
2022-06-27 20:58:46 +00:00
|
|
|
<div class="text">{{.locale.LangName}}</div>
|
2020-09-10 01:09:23 +00:00
|
|
|
<div class="menu language-menu">
|
2018-09-07 02:59:06 +00:00
|
|
|
{{range .AllLangs}}
|
2022-06-27 20:58:46 +00:00
|
|
|
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
|
2018-09-07 02:59:06 +00:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-27 20:58:46 +00:00
|
|
|
<a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a>
|
2018-09-07 02:59:06 +00:00
|
|
|
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
|
2020-01-03 18:41:56 +00:00
|
|
|
{{template "custom/extra_links_footer" .}}
|
2018-09-07 02:59:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|