2018-09-06 22:59:06 -04:00
|
|
|
<footer>
|
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui left">
|
2020-01-04 15:27:19 -05:00
|
|
|
{{.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-06 22:59:06 -04:00
|
|
|
</div>
|
|
|
|
<div class="ui right links">
|
|
|
|
{{if .ShowFooterBranding}}
|
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
|
|
|
|
{{end}}
|
|
|
|
<div class="ui language bottom floating slide up dropdown link item">
|
|
|
|
<i class="world icon"></i>
|
|
|
|
<div class="text">{{.LangName}}</div>
|
|
|
|
<div class="menu">
|
|
|
|
{{range .AllLangs}}
|
2019-03-18 08:49:01 -04:00
|
|
|
<a lang="{{.Lang}}" class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
|
2018-09-06 22:59:06 -04:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-22 08:11:01 -04:00
|
|
|
<a href="{{StaticUrlPrefix}}/vendor/librejs.html" data-jslicense="1">JavaScript licenses</a>
|
2018-09-06 22:59:06 -04: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 22:59:06 -04:00
|
|
|
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|