mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:42:09 +01: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>
26 lines
740 B
Handlebars
26 lines
740 B
Handlebars
{{template "base/head" .}}
|
|
{{if .ContextUser.IsOrganization}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization projects">
|
|
{{template "org/header" .}}
|
|
<div class="ui container">
|
|
{{template "projects/list" .}}
|
|
</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">
|
|
<div class="gt-mb-4">
|
|
{{template "user/overview/header" .}}
|
|
</div>
|
|
{{template "projects/list" .}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
{{template "base/footer" .}}
|