mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 23:02:41 +01:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
16 lines
795 B
Handlebars
16 lines
795 B
Handlebars
<div class="ui secondary pointing tabular top attached borderless stackable menu new-menu navbar">
|
|
<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">
|
|
{{svg "octicon-repo"}} {{.i18n.Tr "explore.repos"}}
|
|
</a>
|
|
<a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubUrl}}/explore/users">
|
|
{{svg "octicon-person"}} {{.i18n.Tr "explore.users"}}
|
|
</a>
|
|
<a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
|
|
{{svg "octicon-organization"}} {{.i18n.Tr "explore.organizations"}}
|
|
</a>
|
|
{{if .IsRepoIndexerEnabled}}
|
|
<a class="{{if .PageIsExploreCode}}active{{end}} item" href="{{AppSubUrl}}/explore/code">
|
|
{{svg "octicon-code"}} {{.i18n.Tr "explore.code"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|