##// END OF EJS Templates
pull-requests: increase stability of concurrent pull requests creation by flushing prematurly the statuses of commits....
pull-requests: increase stability of concurrent pull requests creation by flushing prematurly the statuses of commits. This is required to increase the versions on each concurrent call. Otherwise we could get into an integrity errors of commitsha+version+repo

File last commit:

r2990:059d659b default
r3408:2a133f7e stable
Show More
my_account_emails.mako
60 lines | 2.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Account Emails')}</h3>
</div>
<div class="panel-body">
<div class="emails_wrap">
<table class="rctable account_emails">
<tr>
<td class="td-user">
${base.gravatar(c.user.email, 16)}
<span class="user email">${c.user.email}</span>
</td>
<td class="td-tags">
<span class="tag tag1">${_('Primary')}</span>
</td>
</tr>
%if c.user_email_map:
%for em in c.user_email_map:
<tr>
<td class="td-user">
${base.gravatar(em.email, 16)}
<span class="user email">${em.email}</span>
</td>
<td class="td-action">
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
r2105 ${h.secure_form(h.route_path('my_account_emails_delete'), request=request)}
templating: use .mako as extensions for template files.
r1282 ${h.hidden('del_email_id',em.email_id)}
my-account: moved emails config into pyramid views.
r1816 <button class="btn btn-link btn-danger" type="submit" id="${'remove_email_%s'.format(em.email_id)}"
onclick="return confirm('${_('Confirm to delete this email: {}').format(em.email)}');">
templating: use .mako as extensions for template files.
r1282 ${_('Delete')}
</button>
${h.end_form()}
</td>
</tr>
%endfor
%else:
<tr class="noborder">
<td colspan="3">
<div class="td-email">
${_('No additional emails specified')}
</div>
</td>
</tr>
%endif
</table>
</div>
user: forbid manage of emails for external accounts....
r2990 % if c.user.extern_type != 'rhodecode':
<p>${_('Your user account details are managed by an external source. Details cannot be managed here.')}
<br/>${_('Source type')}: <strong>${c.user.extern_type}</strong>
</p>
% else:
templating: use .mako as extensions for template files.
r1282 <div>
Bartłomiej Wołyńczyk
my-account: security change, added select filed with email from extra emails while editing user profile, now adding extra emails required type password. Task #5386
r2592 ${c.form.render() | n}
templating: use .mako as extensions for template files.
r1282 </div>
user: forbid manage of emails for external accounts....
r2990 % endif
templating: use .mako as extensions for template files.
r1282 </div>
</div>