##// END OF EJS Templates
helpers: bool2icon will expose title of values as tooltip.
helpers: bool2icon will expose title of values as tooltip.

File last commit:

r3687:9ccee791 new-ui
r4001:7c37016c default
Show More
user_profile.mako
66 lines | 2.1 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 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">
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>