# HG changeset patch # User Daniel Dourvaris # Date 2018-08-28 17:13:42 # Node ID 01a27b09203e9484af58dd4586217c904c0ba22a # Parent 8d754972456195b2e611b71b2d9d23848c8d0706 repo: re-order creation/fork forms for better UX and consistency. diff --git a/rhodecode/templates/admin/repos/repo_add_base.mako b/rhodecode/templates/admin/repos/repo_add_base.mako --- a/rhodecode/templates/admin/repos/repo_add_base.mako +++ b/rhodecode/templates/admin/repos/repo_add_base.mako @@ -40,6 +40,15 @@
+ +
+
+ ${h.select('repo_type','hg',c.backends)} + ${_('Set the type of repository to create.')} +
+
+
+
@@ -66,6 +75,15 @@ ${_('Optionally select a group to put this repository into.')}
+
+
+ +
+
+ ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} + ${_('The default commit for file pages, downloads, full text search index, and README generation.')} +
+
@@ -76,24 +94,6 @@
-
- -
-
- ${h.select('repo_type','hg',c.backends)} - ${_('Set the type of repository to create.')} -
-
-
-
- -
-
- ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} - ${_('The default commit for file pages, downloads, full text search index, and README generation.')} -
-
-
diff --git a/rhodecode/templates/forks/fork.mako b/rhodecode/templates/forks/fork.mako --- a/rhodecode/templates/forks/fork.mako +++ b/rhodecode/templates/forks/fork.mako @@ -85,6 +85,16 @@
+ +
+
+ ${h.checkbox('copy_permissions',value="True", checked="checked")} + ${_('Copy permissions from forked repository')} +
+
+ +
+
@@ -93,16 +103,6 @@
-
-
- -
-
- ${h.checkbox('copy_permissions',value="True", checked="checked")} - ${_('Copy permissions from forked repository')} -
-
-
${h.submit('',_('Fork this Repository'),class_="btn")}