${_('Remote url')}

${_('Manually pull changes from external repository.')}

%if c.repo_info.clone_uri: ${_('Remote mirror url')}: ${c.repo_info.clone_uri_hidden}

${_('Pull can be automated by such api call. Can be called periodically in crontab etc.')}
${h.api_call_example(method='pull', args={"repoid": c.repo_info.repo_name})}

${h.secure_form(h.route_path('edit_repo_remote_pull', repo_name=c.repo_name), method='POST', request=request)}
${h.submit('remote_pull_%s' % c.repo_info.repo_name,_('Pull changes from remote location'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to pull changes from remote side')+"');")}
${h.end_form()} %else: ${_('This repository does not have any remote mirror url set.')} ${_('Set remote url.')}

%endif