%if c.repo_info.clone_uri or c.repo_info.fork:

%if c.repo_info.fork: ${_('Fork of repository')}: ${c.repo_info.fork.repo_name} %else: ${_('Remote repository URL')}: ${c.repo_info.clone_uri_hidden} %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