##// END OF EJS Templates
dependencies: bumped psutils to 5.4.6
dependencies: bumped psutils to 5.4.6

File last commit:

r1892:89ddfad2 default
r2826:422e7c9b default
Show More
my_account_profile.mako
54 lines | 1.7 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">
<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>
<div class="panel-body">
<div class="fieldset">
<div class="left-label">
${_('Photo')}:
</div>
<div class="right-content">
%if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
%else:
${base.gravatar(c.user.email, 20)}
${_('Avatars are disabled')}
%endif
</div>
</div>
<div class="fieldset">
<div class="left-label">
${_('Username')}:
</div>
<div class="right-content">
${c.user.username}
</div>
</div>
<div class="fieldset">
<div class="left-label">
${_('First Name')}:
</div>
<div class="right-content">
security: use new safe escaped user attributes across the application....
r1815 ${c.user.first_name}
templating: use .mako as extensions for template files.
r1282 </div>
</div>
<div class="fieldset">
<div class="left-label">
${_('Last Name')}:
</div>
<div class="right-content">
security: use new safe escaped user attributes across the application....
r1815 ${c.user.last_name}
templating: use .mako as extensions for template files.
r1282 </div>
</div>
<div class="fieldset">
<div class="left-label">
${_('Email')}:
</div>
<div class="right-content">
${c.user.email or _('Missing email, please update your user email address.')}
</div>
</div>
</div>
</div>