diff --git a/rhodecode/templates/admin/repos/repo_edit_remote.mako b/rhodecode/templates/admin/repos/repo_edit_remote.mako --- a/rhodecode/templates/admin/repos/repo_edit_remote.mako +++ b/rhodecode/templates/admin/repos/repo_edit_remote.mako @@ -6,14 +6,19 @@

${_('Manually pull/push changes from/to external URLs.')}

- %if c.rhodecode_db_repo.clone_uri or c.rhodecode_db_repo.push_uri: - - - % if c.rhodecode_db_repo.clone_uri: +
- + + % if c.rhodecode_db_repo.clone_uri: - % endif + % endif - % if c.rhodecode_db_repo.push_uri: - + @@ -51,19 +62,7 @@ ${_('This feature is available in RhodeCode EE edition only. Contact {sales_email} to obtain a trial license.').format(sales_email='sales@rhodecode.com')|n} - % endif
${_('Pull url')}
${c.rhodecode_db_repo.clone_uri_hidden} + % if c.rhodecode_db_repo.clone_uri: + ${c.rhodecode_db_repo.clone_uri_hidden} + % else: + ${_('This repository does not have any pull url set.')} + ${_('Set remote url.')} + % endif +
@@ -38,12 +43,18 @@ ${h.end_form()}
${_('Push url')}
${c.rhodecode_db_repo.push_uri_hidden} + % if c.rhodecode_db_repo.push_uri: + ${c.rhodecode_db_repo.push_uri_hidden} + % else: + ${_('This repository does not have any push url set.')} + ${_('Set remote url.')} + % endif +
- - %else: - - ${_('This repository does not have any remote mirror url set.')} - ${_('Set remote url.')} -
-
- - %endif