${_('Pull can be automated by such api call. Can be called periodically in crontab etc.')}
${h.api_call_example(method='pull', args={"repoid": c.rhodecode_db_repo.repo_name})}
${h.submit('remote_pull_%s' % c.rhodecode_db_repo.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.')}