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