aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/projects/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/projects/list.tmpl')
-rw-r--r--templates/org/projects/list.tmpl29
1 files changed, 25 insertions, 4 deletions
diff --git a/templates/org/projects/list.tmpl b/templates/org/projects/list.tmpl
index 1f113b28c8..689091e5e0 100644
--- a/templates/org/projects/list.tmpl
+++ b/templates/org/projects/list.tmpl
@@ -1,6 +1,27 @@
{{template "base/head" .}}
-<div role="main" aria-label="{{.Title}}" class="page-content repository packages">
- {{template "user/overview/header" .}}
- {{template "projects/list" .}}
-</div>
+{{if .ContextUser.IsOrganization}}
+ <div role="main" aria-label="{{.Title}}" class="page-content repository packages">
+ {{template "shared/user/org_profile_avatar" .}}
+ <div class="ui container">
+ {{template "user/overview/header" .}}
+ {{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" .}}