<%namespace name="base" file="/base/base.mako"/>

${_('Profile')}

%if h.HasPermissionAny('hg.admin')(): ${h.link_to(_('Edit'), h.route_path('user_edit', user_id=c.user.user_id), class_='panel-edit')} %endif
${_('Photo')}:
%if c.visual.use_gravatar: ${base.gravatar(c.user.email, 100)} %else: ${base.gravatar(c.user.email, 20)} ${_('Avatars are disabled')} %endif
${_('Username')}:
${c.user.username}
${_('First name')}:
${c.user.first_name}
${_('Last name')}:
${c.user.last_name}
${_('Email')}:
${c.user.email or _('Missing email, please update your user email address.')}