2023-01-29 04:29:10 +03:00
|
|
|
<footer role="group" aria-label="{{.locale.Tr "aria.footer"}}">
|
2018-09-07 05:59:06 +03:00
|
|
|
<div class="ui container">
|
2023-01-29 04:29:10 +03:00
|
|
|
<div class="ui left" role="contentinfo" aria-label="{{.locale.Tr "aria.footer.software"}}">
|
2022-12-19 12:03:28 +03:00
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://forgejo.org">{{.locale.Tr "powered_by" "Forgejo"}}</a>
|
2022-03-23 04:15:54 +03:00
|
|
|
{{if (or .ShowFooterVersion .PageIsAdmin)}}
|
2022-06-27 23:58:46 +03:00
|
|
|
{{.locale.Tr "version"}}:
|
2022-03-23 04:15:54 +03:00
|
|
|
{{if .IsAdmin}}
|
|
|
|
<a href="{{AppSubUrl}}/admin/config">{{AppVer}}</a>
|
|
|
|
{{else}}
|
|
|
|
{{AppVer}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2022-04-20 02:30:09 +03:00
|
|
|
{{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
|
2022-06-27 23:58:46 +03:00
|
|
|
{{.locale.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong>
|
2022-10-08 06:53:42 +03:00
|
|
|
{{.locale.Tr "template"}}{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>
|
2022-03-23 04:15:54 +03:00
|
|
|
{{end}}
|
2018-09-07 05:59:06 +03:00
|
|
|
</div>
|
2023-01-29 04:29:10 +03:00
|
|
|
<div class="ui right links" role="group" aria-label="{{.locale.Tr "aria.footer.links"}}">
|
2018-09-07 05:59:06 +03:00
|
|
|
{{if .ShowFooterBranding}}
|
2022-12-19 12:03:28 +03:00
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://codeberg.org/forgejo/forgejo">{{svg "octicon-git-branch"}}<span class="sr-only">Codeberg</span></a>
|
2018-09-07 05:59:06 +03:00
|
|
|
{{end}}
|
|
|
|
<div class="ui language bottom floating slide up dropdown link item">
|
2020-10-22 00:07:33 +03:00
|
|
|
{{svg "octicon-globe"}}
|
2023-03-17 06:08:05 +03:00
|
|
|
<span>{{.locale.LangName}}</span>
|
2020-09-10 04:09:23 +03:00
|
|
|
<div class="menu language-menu">
|
2018-09-07 05:59:06 +03:00
|
|
|
{{range .AllLangs}}
|
2022-06-27 23:58:46 +03:00
|
|
|
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
|
2018-09-07 05:59:06 +03:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-27 23:58:46 +03:00
|
|
|
<a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a>
|
2018-09-07 05:59:06 +03:00
|
|
|
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
|
2020-01-03 21:41:56 +03:00
|
|
|
{{template "custom/extra_links_footer" .}}
|
2018-09-07 05:59:06 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|