Files
@ 17556a81ec6f
Branch filter:
Location: kallithea/rhodecode/templates/password_reset.html - annotation
17556a81ec6f
1.2 KiB
text/html
Make detecting bare Git repositories more robust
Git remote repositories may end on '.git', e.g. myrepo.git. Just checking
for a repository path to end on '.git' causes 'Repository not found' errors
in such a case. To distinguish between bare and normal Git repositories,
check if there is a '/.git' part at the end of the repository path
(i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
Git remote repositories may end on '.git', e.g. myrepo.git. Just checking
for a repository path to end on '.git' causes 'Repository not found' errors
in such a case. To distinguish between bare and normal Git repositories,
check if there is a '/.git' part at the end of the repository path
(i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
1e757ac98988 41241617a7a3 41241617a7a3 41241617a7a3 aaec08ad9daf 41241617a7a3 1e757ac98988 41241617a7a3 f91d3f9b7230 41241617a7a3 aaec08ad9daf 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 7ae36df760ce 5875955def39 41241617a7a3 f91d3f9b7230 41241617a7a3 1e757ac98988 41241617a7a3 eef9e273347a eef9e273347a eef9e273347a eef9e273347a f91d3f9b7230 f91d3f9b7230 41241617a7a3 | ## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Reset your password')} - ${c.rhodecode_name}
</%def>
<div id="register">
<div class="title top-left-rounded-corner top-right-rounded-corner">
<h5>${_('Reset your password to')} ${c.rhodecode_name}</h5>
</div>
<div class="inner">
${h.form(url('password_reset'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="email">${_('Email address')}:</label>
</div>
<div class="input">
${h.text('email')}
</div>
</div>
<div class="buttons">
<div class="nohighlight">
${h.submit('send',_('Reset my password'),class_="ui-btn large")}
<div class="activation_msg">${_('Password reset link will be send to matching email address')}</div>
</div>
</div>
</div>
</div>
${h.end_form()}
<script type="text/javascript">
YUE.onDOMReady(function(){
YUD.get('email').focus();
})
</script>
</div>
</div>
|