From 6fe3c8b3980f850c9789f9fa62bdfee7b2708ff0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 20 Jan 2023 19:42:33 +0800 Subject: Support org/user level projects (#22235) Fix #13405 image Co-authored-by: 6543 <6543@obermui.de> --- templates/projects/new.tmpl | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 templates/projects/new.tmpl (limited to 'templates/projects/new.tmpl') diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl new file mode 100644 index 0000000000..1069102792 --- /dev/null +++ b/templates/projects/new.tmpl @@ -0,0 +1,66 @@ +
+
+ +
+

+ {{if .PageIsEditProjects}} + {{.locale.Tr "repo.projects.edit"}} +
{{.locale.Tr "repo.projects.edit_subheader"}}
+ {{else}} + {{.locale.Tr "repo.projects.new"}} +
{{.locale.Tr "repo.projects.new_subheader"}}
+ {{end}} +

+ {{template "base/alert" .}} +
+ {{.CsrfTokenHtml}} +
+
+ + +
+
+ + +
+ + {{if not .PageIsEditProjects}} + + + {{end}} +
+
+
+
+ {{if .PageIsEditProjects}} + + {{.locale.Tr "repo.milestones.cancel"}} + + + {{else}} + + {{end}} +
+
+ +
+
+
-- cgit v1.2.3