Gitea 1.18.0: upgrade templates
- use Chapril logo in head navbar - s/.i18.Tr/.locale.Tr/
This commit is contained in:
parent
e7bc115835
commit
54ac5a8b42
@ -5,7 +5,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
<div class="item brand" style="justify-content: space-between;">
|
<div class="item brand" style="justify-content: space-between;">
|
||||||
<a href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}">
|
<a href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}">
|
||||||
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}" aria-hidden="true">
|
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/gitea-sm.png" alt="{{.locale.Tr "logo"}}" aria-hidden="true">
|
||||||
</a>
|
</a>
|
||||||
{{if .IsSigned}}
|
{{if .IsSigned}}
|
||||||
<a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only" data-content='{{.locale.Tr "notifications"}}'>
|
<a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only" data-content='{{.locale.Tr "notifications"}}'>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{if .IsSigned}}
|
{{if .IsSigned}}
|
||||||
<a class="item" href="https://docs.gitea.io/">{{.i18n.Tr "help"}}</a>
|
<a class="item" href="https://docs.gitea.io/">{{.locale.Tr "help"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
<a class="item" href="mailto:forge-support@chapril.org">Support</a>
|
<a class="item" href="mailto:forge-support@chapril.org">Support</a>
|
||||||
|
@ -1 +1 @@
|
|||||||
<a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/">{{.i18n.Tr "help"}}</a>
|
<a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/">{{.locale.Tr "help"}}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user