##// END OF EJS Templates
quick-filter: use a dedicated method for fetching quick filter nodes....
quick-filter: use a dedicated method for fetching quick filter nodes. This code needs a fast and dedicated method for this. We'll re-implement it and we don't want to change existing API. So it's just a start to have a duplicated method that will be rewritten.

File last commit:

r3687:9ccee791 new-ui
r3925:66f1ac00 default
Show More
user_profile.mako
66 lines | 2.1 KiB | application/x-mako | MakoHtmlLexer
<%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default user-profile">
<div class="panel-heading">
<h3 class="panel-title">${_('User Profile')}</h3>
%if c.is_super_admin:
${h.link_to(_('Edit'), h.route_path('user_edit', user_id=c.user.user_id), class_='panel-edit')}
%endif
</div>
<div class="panel-body user-profile-content fields">
<div class="field">
<div class="label">
${_('Photo')}:
</div>
<div class="input">
<div class="text-as-placeholder">
%if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
%else:
${base.gravatar(c.user.email, 100)}
%endif
</div>
</div>
</div>
<div class="field">
<div class="label">
${_('Username')}:
</div>
<div class="input">
<div class="text-as-placeholder">
${c.user.username}
</div>
</div>
</div>
<div class="field">
<div class="label">
${_('First name')}:
</div>
<div class="input">
<div class="text-as-placeholder">
${c.user.first_name}
</div>
</div>
</div>
<div class="field">
<div class="label">
${_('Last name')}:
</div>
<div class="input">
<div class="text-as-placeholder">
${c.user.last_name}
</div>
</div>
</div>
<div class="field">
<div class="label">
${_('Email')}:
</div>
<div class="input">
<div class="text-as-placeholder">
${(c.user.email or _('Missing email, please update your user email address.'))}
</div>
</div>
</div>
</div>
</div>