From db4c7dcf15767f9e408f5dd18618e50bead0831d Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 21 Feb 2022 03:51:01 +0800 Subject: [PATCH] Put buttons back in org dashboard (#18817) (#18825) Backport #18817 Fix #18523 --- templates/org/home.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 5b4f6d2c0..c72fc53de 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -29,6 +29,15 @@
+ {{if .CanCreateOrgRepo}} +
+ {{.i18n.Tr "new_repo"}} + {{if not .DisableNewPullMirrors}} + {{.i18n.Tr "new_migrate"}} + {{end}} +
+
+ {{end}}

{{.i18n.Tr "org.people"}} {{if .IsOrganizationMember}}