diff --git a/kallithea/model/validators.py b/kallithea/model/validators.py --- a/kallithea/model/validators.py +++ b/kallithea/model/validators.py @@ -471,9 +471,9 @@ def ValidCloneUri(): class _validator(formencode.validators.FancyValidator): messages = { - 'clone_uri': _(u'invalid clone URL'), - 'invalid_clone_uri': _(u'Invalid clone URL, provide a ' - 'valid clone http(s)/svn+http(s)/ssh URL') + 'clone_uri': _(u'Invalid repository URL'), + 'invalid_clone_uri': _(u'Invalid repository URL. It must be a ' + 'valid http, https, ssh, svn+http or svn+https URL'), } def validate_python(self, value, state): 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 @@ -10,18 +10,9 @@ ${h.form(url('repos'))}
${h.text('repo_name',class_="small")} -
- - - ${_('Import existing repository ?')} - -
- %if not c.authuser.is_admin: - ${h.hidden('user_created',True)} - %endif
-