<% pull_from_clone_uri = c.clone_uri_enabled and c.repo_info.clone_uri %> %if pull_from_clone_uri or c.repo_info.fork:

%if pull_from_clone_uri: ${_('Remote repository URL')}: ${c.repo_info.clone_uri_hidden} %else: ${_('Fork of repository')}: ${c.repo_info.fork.repo_name} %endif

${h.form(url('edit_repo_remote_update', repo_name=c.repo_name))}
${h.submit('remote_pull_%s' % c.repo_info.repo_name, _('Pull Changes from Remote Repository'), class_="btn btn-default btn-sm", onclick="return confirm('"+_('Confirm to pull changes from remote repository.')+"');")}
${h.end_form()} %else:

${_('This repository does not have a remote repository URL.')}

%endif