##// END OF EJS Templates
Migrate to Mergely 3.3.4....
Migrate to Mergely 3.3.4. RhodeCode 2.2.5 distributed Mergely 3.3.4 with some of the changes that Mergely 3.3.3 in RhodeCode 1.7.2 also had. That do however not seem to be changes we want for Kallithea this way and we take the 3.3.4 files as they are. I've also included the Mergely license file, as downloaded from: http://www.mergely.com/license.php That LICENSE file is kept in HTML just as it was downloaded from their website. While it's a bit annoying to keep the license file in HTML, this is the way it came from upstream so we'll leave it that way. Since the Javascript code is used with other GPLv3 Javascript, we are using the GPL option of Mergely's tri-license. Finally, note that previously, this was incorrectly called "mergerly", so the opportunity is taken here to correct the name. That required changes to diff_2way.html. As commands:: $ wget -N --output-document LICENSE-MERGELY.html http://www.mergely.com/license.php $ hg add LICENSE-MERGELY.html $ hg mv rhodecode/public/css/mergerly.css rhodecode/public/css/mergely.css $ hg mv rhodecode/public/js/mergerly.js rhodecode/public/js/mergely.js $ sed -i 's,mergerly\.,mergely,g' rhodecode/templates/files/diff_2way.html $ ( cd /tmp; \ wget -N http://www.mergely.com/releases/mergely-3.3.4.zip; \ unzip mergely-3.3.4.zip ) $ sha256sum /tmp/mergely-3.3.4.zip 87415d30494bbe829c248881aa7cdc0303f7e70b458a5f687615564d4498cc82 mergely-3.3.4.zip $ cp /tmp/mergely-3.3.4/lib/mergely.js rhodecode/public/js/mergely.js $ cp /tmp/mergely-3.3.4/lib/mergely.css rhodecode/public/css/mergely.css $ sed -i -e '/^ \* Version/a\ *\n * NOTE by bkuhn@sfconservancy.org for Kallithea:\n * Mergely license appears at http://www.mergely.com/license.php and in LICENSE-MERGELY.html' rhodecode/public/js/mergely.js rhodecode/public/css/mergely.css

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4125:aa3b5594 rhodecode-2.2.5-gpl
Show More
password_reset.html
86 lines | 2.7 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Password Reset')}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
</%def>
<div id="header">
<div id="header-inner" class="title">
<div id="logo">
<div class="header">
<a href="${h.url('home')}"><img src="/images/rhodecode-logo-white-216x60.png" alt="RhodeCode"/></a>
</div>
%if c.rhodecode_name:
<div class="branding">- ${c.rhodecode_name}</div>
%endif
</div>
</div>
</div>
<div id="register">
<%include file="/base/flash_msg.html"/>
<div class="title withlogo">
%if c.rhodecode_name:
<h5>${_('Reset your Password to %s') % c.rhodecode_name}</h5>
%else:
<h5>${_('Reset your Password')}</h5>
%endif
</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>
%if c.captcha_active:
<div class="field">
<div class="label">
<label for="email">${_('Captcha')}:</label>
</div>
<div class="input">
${h.hidden('recaptcha_field')}
<div id="recaptcha"></div>
</div>
</div>
%endif
<div class="buttons">
<div class="nohighlight">
${h.submit('send',_('Send password reset email'),class_="btn")}
<div class="activation_msg">${_('Password reset link will be send to matching email address')}</div>
</div>
</div>
</div>
</div>
${h.end_form()}
%if c.captcha_active:
<script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
%endif
<script type="text/javascript">
$(document).ready(function(){
$('#email').focus();
%if c.captcha_active:
Recaptcha.create("${c.captcha_public_key}", "recaptcha",
{
theme: "white",
}
);
%endif
});
</script>
</div>
</div>