From 931c2f40e7f7c7698956adecf14814dc0559f801 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 19 Feb 2022 20:08:12 +0800 Subject: [PATCH] Put buttons back in org dashboard (#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 5b4f6d2c02..c72fc53de5 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}}