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 @@
${_('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 + |
@@ -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} |