From 49933c7fb09cc98ae0e57a483d68011ac67fd492 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 25 Nov 2021 00:12:54 +0800 Subject: Create menus for organization pages (#17802) * Create menus for organization pages * Fix frontend lint * Fix frontend lint --- templates/org/home.tmpl | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'templates/org/home.tmpl') 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}}
{{.i18n.Tr "org.settings.visibility.limited_shortname"}}
{{end}} {{if .Org.Visibility.IsPrivate}}
{{.i18n.Tr "org.settings.visibility.private_shortname"}}
{{end}} - {{if .IsOrganizationOwner}}{{svg "octicon-gear" 16 "mb-3"}}{{end}} {{if $.RenderedDescription}}

{{$.RenderedDescription|Str2html}}

{{end}}
@@ -19,20 +18,11 @@
-
+ {{template "org/menu" .}}
- {{if .CanCreateOrgRepo}} -
- {{if not .DisableNewPullMirrors}} - {{.i18n.Tr "new_migrate"}} - {{end}} - {{.i18n.Tr "new_repo"}} -
-
- {{end}} {{template "explore/repo_search" .}} {{template "explore/repo_list" .}} {{template "base/paginate" .}} -- cgit v1.2.3