Tweak version in footer
Signed-off-by: Minecon724 <minecon724@noreply.git.m724.eu>
This commit is contained in:
parent
43b4a57be3
commit
2eefc2c68a
1 changed files with 2 additions and 3 deletions
|
@ -4,11 +4,10 @@
|
||||||
<a target="_blank" rel="noopener noreferrer" href="https://forgejo.org">{{ctx.Locale.Tr "powered_by" "Forgejo"}}</a>
|
<a target="_blank" rel="noopener noreferrer" href="https://forgejo.org">{{ctx.Locale.Tr "powered_by" "Forgejo"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if (or .ShowFooterVersion .PageIsAdmin)}}
|
{{if (or .ShowFooterVersion .PageIsAdmin)}}
|
||||||
{{ctx.Locale.Tr "version"}}:
|
|
||||||
{{if .IsAdmin}}
|
{{if .IsAdmin}}
|
||||||
<a href="{{AppSubUrl}}/admin/config">{{AppVer}}</a>
|
<a href="{{AppSubUrl}}/admin/config">v{{AppVer}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{AppVerNoMetadata}}
|
v{{AppVerNoMetadata}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
|
{{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue