${_('URL by id')}: `${c.rhodecode_db_repo.clone_url(with_id=True)}`
${_('''In case this repository is renamed or moved into another group the repository url changes.
Using above url guarantees that this repository will always be accessible under such url.
Useful for CI systems, or any other cases that you need to hardcode the url into 3rd party service.''')}
${c.form['repo_clone_uri'].render(css_class='medium', oid='clone_uri', placeholder=_('enter new value, or leave empty to remove'))|n}
${c.form.render_error(request, c.form['repo_clone_uri'])|n}
% if c.form['repo_clone_uri'].error:
## we got error from form subit, means we modify the url
${h.hidden('repo_clone_uri_change', 'MOD')}
% else:
${h.hidden('repo_clone_uri_change', 'OLD')}
% endif
% if not c.form['repo_clone_uri'].error:
${_('cancel')}
% endif
%else:
## not set yet, display form to set it
${c.form['repo_clone_uri'].render(css_class='medium', oid='clone_uri')|n}
${c.form.render_error(request, c.form['repo_clone_uri'])|n}
${h.hidden('repo_clone_uri_change', 'NEW')}
%endif
<% pull_link = h.literal(h.link_to('remote sync', h.route_path('edit_repo_remote', repo_name=c.repo_name))) %>
${_('http[s] url where from repository was imported, this field can used for doing {pull_link}.').format(pull_link=pull_link)|n}
${_('This field is stored encrypted inside Database, a format of http://user:password@server.com/repo_name can be used and will be hidden from display.')}
${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${c.form['repo_private'].render(css_class='medium')|n}
${c.form.render_error(request, c.form['repo_private'])|n}
${_('Private repositories are only visible to people explicitly added as collaborators.')}
${c.form['repo_enable_statistics'].render(css_class='medium')|n}
${c.form.render_error(request, c.form['repo_enable_statistics'])|n}
${_('Enable statistics window on summary page.')}
${c.form['repo_enable_downloads'].render(css_class='medium')|n}
${c.form.render_error(request, c.form['repo_enable_downloads'])|n}
${_('Enable download menu on summary page.')}
${c.form['repo_enable_locking'].render(css_class='medium')|n}
${c.form.render_error(request, c.form['repo_enable_locking'])|n}
${_('Enable automatic locking on repository. Pulling from this repository creates a lock that can be released by pushing back by the same user')}
%if c.visual.repository_fields:
## EXTRA FIELDS
%for field in c.repo_fields: