##// END OF EJS Templates
fix: fixed empty server url in PR link. Fixes: RCCE-77
fix: fixed empty server url in PR link. Fixes: RCCE-77

File last commit:

r4240:86414242 stable
r5455:7b846beb default
Show More
my_account_profile_edit.mako
75 lines | 2.7 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / my_account / my_account_profile_edit.mako
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default user-profile">
<div class="panel-heading">
<h3 class="panel-title">${_('My Profile')}</h3>
my-account: moved profile page into pyramid.
r1540 <a href="${h.route_path('my_account_profile')}" class="panel-edit">Close</a>
templating: use .mako as extensions for template files.
r1282 </div>
<div class="panel-body">
<% readonly = None %>
<% disabled = "" %>
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 %if c.extern_type != 'rhodecode':
templating: use .mako as extensions for template files.
r1282 <% readonly = "readonly" %>
user-accounts: show info about password for external accounts.
r4240 <% disabled = " disabled" %>
<div class="alert-warning" style="margin:0px 0px 20px 0px; padding: 10px">
<strong>${_('This user was created from external source (%s). Editing some of the settings is limited.' % c.extern_type)}</strong>
</div>
<div style="margin:-10px 0px 20px 0px;">
${_('For VCS access please generate')}
<a href="${h.route_path('my_account_auth_tokens', _query={'token_role':'token_role_vcs'})}">Authentication Token</a> or <a href="${h.route_path('my_account_ssh_keys_generate')}">SSH Key</a>.
</div>
%endif
%if c.extern_type != 'rhodecode':
templating: use .mako as extensions for template files.
r1282 <div class="infoform">
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
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.user.username}
templating: use .mako as extensions for template files.
r1282 </div>
</div>
<div class="field">
<div class="label">
<label for="name">${_('First Name')}:</label>
</div>
<div class="input">
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.user.firstname}
templating: use .mako as extensions for template files.
r1282 </div>
</div>
<div class="field">
<div class="label">
<label for="lastname">${_('Last Name')}:</label>
</div>
<div class="input-valuedisplay">
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.user.lastname}
templating: use .mako as extensions for template files.
r1282 </div>
</div>
</div>
</div>
% else:
<div class="form">
<div class="fields">
<div class="field">
<div class="label photo">
${_('Photo')}:
</div>
<div class="input profile">
%if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
<p class="help-block">${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a>.</p>
%else:
ui: fix avatars rendering
r3686 ${base.gravatar(c.user.email, 100)}
templating: use .mako as extensions for template files.
r1282 %endif
</div>
</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>
</div>
% endif
</div>
</div>