mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
Fix wrong header of org project view page (#29626)
Follow #29248 The project view page still using `user/overview/header.tmpl` Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/9cb638a3-7cc6-4efa-979a-e2592007fd12) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/62b0b2ea-8cb0-459f-b27a-bad3908eb1c0) (cherry picked from commit c6cc392b55b71ae1787e86e75b7121c3769adcbe)
This commit is contained in:
parent
963df82907
commit
ee4443c998
1 changed files with 15 additions and 13 deletions
|
@ -29,6 +29,7 @@
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{if .ContextUser.IsIndividual}}
|
||||||
<a class="{{if eq .TabName "activity"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=activity">
|
<a class="{{if eq .TabName "activity"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=activity">
|
||||||
{{svg "octicon-rss"}} {{ctx.Locale.Tr "user.activity"}}
|
{{svg "octicon-rss"}} {{ctx.Locale.Tr "user.activity"}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -44,4 +45,5 @@
|
||||||
{{svg "octicon-eye"}} {{ctx.Locale.Tr "user.watched"}}
|
{{svg "octicon-eye"}} {{ctx.Locale.Tr "user.watched"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue