aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl12
1 files changed, 1 insertions, 11 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index fc79deb139..5b4f6d2c02 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -9,7 +9,6 @@
{{if .Org.Visibility.IsLimited}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
{{if .Org.Visibility.IsPrivate}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
</span>
- {{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear" 16 "mb-3"}}</a>{{end}}
</div>
{{if $.RenderedDescription}}<p class="render-content markup">{{$.RenderedDescription|Str2html}}</p>{{end}}
<div class="text grey meta">
@@ -19,20 +18,11 @@
</div>
</div>
- <div class="ui divider"></div>
+ {{template "org/menu" .}}
<div class="ui container">
<div class="ui mobile reversed stackable grid">
<div class="ui eleven wide column">
- {{if .CanCreateOrgRepo}}
- <div class="text right">
- {{if not .DisableNewPullMirrors}}
- <a class="ui green button" href="{{AppSubUrl}}/repo/migrate?org={{.Org.ID}}&mirror=1">{{.i18n.Tr "new_migrate"}}</a>
- {{end}}
- <a class="ui green button" href="{{AppSubUrl}}/repo/create?org={{.Org.ID}}">{{.i18n.Tr "new_repo"}}</a>
- </div>
- <div class="ui divider"></div>
- {{end}}
{{template "explore/repo_search" .}}
{{template "explore/repo_list" .}}
{{template "base/paginate" .}}