##// END OF EJS Templates
shell: remove module level imports
shell: remove module level imports

File last commit:

r4025:884a595d default
r5364:f90791c0 default
Show More
user_profile.mako
77 lines | 2.5 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">
ui/user profiles: add better explanation of what we are viewing.
r2610 <h3 class="panel-title">${_('User Profile')}</h3>
auth: reduced usage of raw auth calls inside templates
r3587 %if c.is_super_admin:
users: ported controllers from pylons into pyramid views.
r2114 ${h.link_to(_('Edit'), h.route_path('user_edit', user_id=c.user.user_id), class_='panel-edit')}
templating: use .mako as extensions for template files.
r1282 %endif
</div>
ui: fix profiles for users
r3687 <div class="panel-body user-profile-content fields">
<div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Photo')}:
</div>
ui: fix profiles for users
r3687 <div class="input">
<div class="text-as-placeholder">
templating: use .mako as extensions for template files.
r1282 %if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
%else:
ui: fix avatars rendering
r3686 ${base.gravatar(c.user.email, 100)}
templating: use .mako as extensions for template files.
r1282 %endif
ui: fix profiles for users
r3687 </div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
ui: fix profiles for users
r3687 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Username')}:
</div>
ui: fix profiles for users
r3687 <div class="input">
<div class="text-as-placeholder">
${c.user.username}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
ui: fix profiles for users
r3687 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('First name')}:
</div>
ui: fix profiles for users
r3687 <div class="input">
<div class="text-as-placeholder">
${c.user.first_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
ui: fix profiles for users
r3687 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Last name')}:
</div>
ui: fix profiles for users
r3687 <div class="input">
<div class="text-as-placeholder">
${c.user.last_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
ui: fix profiles for users
r3687 <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>
ui: fix profiles for users
r3687 <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>