diff --git a/kallithea/templates/admin/repos/repo_add_base.html b/kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html +++ b/kallithea/templates/admin/repos/repo_add_base.html @@ -11,7 +11,10 @@ ${h.form(url('repos'))}
${h.text('repo_name',class_="small")}
- ${_('Import existing repository ?')} + + + ${_('Import existing repository ?')} +
%if not c.authuser.is_admin: ${h.hidden('user_created',True)} @@ -24,7 +27,9 @@ ${h.form(url('repos'))}
${h.text('clone_uri',class_="small")} - ${_('Optional URL from which repository should be cloned.')} + + ${_('Optional URL from which repository should be cloned.')} +
diff --git a/kallithea/templates/admin/repos/repo_edit_remote.html b/kallithea/templates/admin/repos/repo_edit_remote.html --- a/kallithea/templates/admin/repos/repo_edit_remote.html +++ b/kallithea/templates/admin/repos/repo_edit_remote.html @@ -4,9 +4,12 @@
${h.form(url('edit_repo_remote', repo_name=c.repo_name), method='put')}
-
- ${h.submit('remote_pull_%s' % c.repo_info.repo_name,_('Pull Changes from Remote Location'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")} -
+
+ ${h.submit('remote_pull_%s' % c.repo_info.repo_name, + _('Pull Changes from Remote Location'), + class_="btn btn-small", + onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")} +
${h.end_form()} %else: diff --git a/kallithea/templates/admin/repos/repo_edit_settings.html b/kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html +++ b/kallithea/templates/admin/repos/repo_edit_settings.html @@ -15,13 +15,13 @@ ${h.form(url('repo', repo_name=c.repo_in Using the above permanent URL guarantees that this repository always will be accessible on that URL. This is useful for CI systems, or any other cases that you need to hardcode the URL into a 3rd party service.''')} - -
-
- -
-
- %if c.repo_info.clone_uri: +
+
+
+ +
+
+ %if c.repo_info.clone_uri:
${c.repo_info.clone_uri_hidden} ${_('Edit')} @@ -29,13 +29,15 @@ ${h.form(url('repo', repo_name=c.repo_in - %else: + %else: ## not set yet, display form to set it ${h.text('clone_uri',class_="medium")} ${h.hidden('clone_uri_change', 'NEW')} - %endif - ${_('URL used for doing remote pulls.')} -
+ %endif + + ${_('URL used for doing remote pulls.')} + +