my_account_profile.mako
63 lines
| 2.0 KiB
| application/x-mako
|
MakoHtmlLexer
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> | |||
r1892 | <a href="${h.route_path('my_account_edit')}" class="panel-edit">${_('Edit')}</a> | ||
r1282 | </div> | ||
Liviu
|
r3685 | <div class="panel-body fields"> | |
<div class="field"> | |||
<div class="label"> | |||
r1282 | ${_('Photo')}: | ||
</div> | |||
Liviu
|
r3685 | <div class="input"> | |
<div class="text-as-placeholder"> | |||
%if c.visual.use_gravatar: | |||
${base.gravatar(c.user.email, 100)} | |||
%else: | |||
r3686 | ${base.gravatar(c.user.email, 100)} | ||
Liviu
|
r3685 | %endif | |
</div> | |||
r1282 | </div> | ||
</div> | |||
Liviu
|
r3685 | <div class="field"> | |
<div class="label"> | |||
r1282 | ${_('Username')}: | ||
</div> | |||
Liviu
|
r3685 | <div class="input"> | |
<div class="text-as-placeholder"> | |||
${c.user.username} | |||
</div> | |||
r1282 | </div> | ||
</div> | |||
Liviu
|
r3685 | <div class="field"> | |
<div class="label"> | |||
r1282 | ${_('First Name')}: | ||
</div> | |||
Liviu
|
r3685 | <div class="input"> | |
<div class="text-as-placeholder"> | |||
${c.user.first_name} | |||
</div> | |||
r1282 | </div> | ||
</div> | |||
Liviu
|
r3685 | <div class="field"> | |
<div class="label"> | |||
r1282 | ${_('Last Name')}: | ||
</div> | |||
Liviu
|
r3685 | <div class="input"> | |
<div class="text-as-placeholder"> | |||
${c.user.last_name} | |||
</div> | |||
r1282 | </div> | ||
</div> | |||
Liviu
|
r3685 | <div class="field"> | |
<div class="label"> | |||
r1282 | ${_('Email')}: | ||
</div> | |||
Liviu
|
r3685 | <div class="input"> | |
<div class="text-as-placeholder"> | |||
${c.user.email or _('Missing email, please update your user email address.')} | |||
</div> | |||
r1282 | </div> | ||
</div> | |||
</div> | |||
</div> |