Files
@ 631e8000eae8
Branch filter:
Location: kallithea/rhodecode/templates/password_reset.html - annotation
631e8000eae8
1.3 KiB
text/html
diff parser: match the header order of hg diff --git patches
The output might look like:
diff --git a/A b/B
old mode 100644
new mode 100755
rename from A
rename to B
--- a/A
+++ b/B
Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.
Now the chmod and diff will be shown ... but still not the rename.
Correct parsing of headers do require a better parser - one do not just use a
regexp.
The output might look like:
diff --git a/A b/B
old mode 100644
new mode 100755
rename from A
rename to B
--- a/A
+++ b/B
Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.
Now the chmod and diff will be shown ... but still not the rename.
Correct parsing of headers do require a better parser - one do not just use a
regexp.
1e757ac98988 41241617a7a3 41241617a7a3 41241617a7a3 1f334a68d057 41241617a7a3 1e757ac98988 41241617a7a3 f91d3f9b7230 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 f91d3f9b7230 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 f91d3f9b7230 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 eef9e273347a eef9e273347a eef9e273347a eef9e273347a f91d3f9b7230 b4f401524060 41241617a7a3 | ## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Password Reset')} · ${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>
|