2018-09-07 08:29:06 +05:30
|
|
|
<footer>
|
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui left">
|
2020-01-05 01:57:19 +05:30
|
|
|
{{.i18n.Tr "powered_by" "Gitea"}} {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
|
2018-09-07 08:29:06 +05:30
|
|
|
</div>
|
|
|
|
<div class="ui right links">
|
|
|
|
{{if .ShowFooterBranding}}
|
2020-10-22 02:37:33 +05:30
|
|
|
<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 08:29:06 +05:30
|
|
|
{{end}}
|
|
|
|
<div class="ui language bottom floating slide up dropdown link item">
|
2020-10-22 02:37:33 +05:30
|
|
|
{{svg "octicon-globe"}}
|
2018-09-07 08:29:06 +05:30
|
|
|
<div class="text">{{.LangName}}</div>
|
2020-09-10 06:39:23 +05:30
|
|
|
<div class="menu language-menu">
|
2018-09-07 08:29:06 +05:30
|
|
|
{{range .AllLangs}}
|
2020-09-10 06:39:23 +05:30
|
|
|
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
|
2018-09-07 08:29:06 +05:30
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-12 16:56:37 +05:30
|
|
|
<a href="{{StaticUrlPrefix}}/js/licenses.txt">{{.i18n.Tr "licenses"}}</a>
|
2018-09-07 08:29:06 +05:30
|
|
|
{{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-04 00:11:56 +05:30
|
|
|
{{template "custom/extra_links_footer" .}}
|
2018-09-07 08:29:06 +05:30
|
|
|
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|