mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 02:29:43 +08:00
532e422027
Unify organizations header before: ![image](https://github.com/go-gitea/gitea/assets/72873130/74474e0d-33c3-4bbf-9324-d130ea2c62f8) after: ![image](https://github.com/go-gitea/gitea/assets/72873130/1c65de0d-fa0f-4b17-ab8d-067de8c7113b) --------- Co-authored-by: silverwind <me@silverwind.io>
25 lines
706 B
Handlebars
25 lines
706 B
Handlebars
{{template "base/head" .}}
|
|
{{if .ContextUser.IsOrganization}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization code">
|
|
{{template "org/header" .}}
|
|
<div class="ui container">
|
|
{{template "code/searchcombo" .}}
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content user profile">
|
|
<div class="ui container">
|
|
<div class="ui stackable grid">
|
|
<div class="ui four wide column">
|
|
{{template "shared/user/profile_big_avatar" .}}
|
|
</div>
|
|
<div class="ui twelve wide column">
|
|
{{template "user/overview/header" .}}
|
|
{{template "code/searchcombo" .}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
{{template "base/footer" .}}
|