##// END OF EJS Templates
nix: bumped pkgs version
nix: bumped pkgs version

File last commit:

r4240:86414242 stable
r4636:3e261a34 stable
Show More
my_account_profile.mako
86 lines | 3.1 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
user/user-groups: render description in unified way with support of metatags
r4025 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default user-profile">
<div class="panel-heading">
<h3 class="panel-title">${_('My Profile')}</h3>
dan
my-account: migrated left over controller functions into pyramid views....
r1892 <a href="${h.route_path('my_account_edit')}" class="panel-edit">${_('Edit')}</a>
templating: use .mako as extensions for template files.
r1282 </div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="panel-body fields">
user-accounts: show info about password for external accounts.
r4240 %if c.extern_type != 'rhodecode':
<% readonly = "readonly" %>
<% 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
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Photo')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
%if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
%else:
ui: fix avatars rendering
r3686 ${base.gravatar(c.user.email, 100)}
Liviu
Changeset view summary box changes and fixed my profile view
r3685 %endif
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Username')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.username}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('First Name')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.first_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Last Name')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.last_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
user/user-groups: render description in unified way with support of metatags
r4025 ${_('Description')}:
</div>
<div class="input">
<div class="text-as-placeholder">
${dt.render_description(c.user.description, c.visual.stylify_metatags)}
</div>
</div>
</div>
<div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Email')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.email or _('Missing email, please update your user email address.')}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
</div>
</div>