feat: add projects link to signed-in user navbar in head_navbar template
- Insert conditional "Projects" navigation item for authenticated users - Remove commented-out help link block for non-signed-in users
This commit is contained in:
parent
5806c156e3
commit
f2b5cd5444
@ -58,13 +58,12 @@
|
|||||||
|
|
||||||
<a class="item" rel="noopener noreferrer" href="/retoor/gists/">Examples / Research / Gists</a>
|
<a class="item" rel="noopener noreferrer" href="/retoor/gists/">Examples / Research / Gists</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{ if .IsSigned }}
|
||||||
|
|
||||||
|
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}/-/projects">Projects</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{template "custom/extra_links" .}}
|
{{template "custom/extra_links" .}}
|
||||||
<!--
|
|
||||||
{{if not .IsSigned}}
|
|
||||||
<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com">{{ctx.Locale.Tr "help"}}</a>
|
|
||||||
{{end}}
|
|
||||||
-->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- the full dropdown menus -->
|
<!-- the full dropdown menus -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user