##// END OF EJS Templates
integrations: add integration support...
integrations: add integration support * added db migration for integration table, version 55 * added integrations views/templates/models * added slack integration * added h.url.current() support for pyramid only contexts * added issues extractor for commit messages * renamed repo-deleted/repo-created to repo-delete/repo-create * removed marshmallow * added serialization for events to static dicts of data * added lazy_ugettext for translation of start time string

File last commit:

r1:854a839a default
r411:df8dc98d default
Show More
user_profile.html
57 lines | 1.8 KiB | text/html | HtmlLexer
<%namespace name="base" file="/base/base.html"/>
<div class="panel panel-default user-profile">
<div class="panel-heading">
<h3 class="panel-title">${_('Profile')}</h3>
%if h.HasPermissionAny('hg.admin')():
${h.link_to(_('Edit'), h.url('edit_user', user_id=c.user.user_id), class_='panel-edit')}
%endif
</div>
<div class="panel-body user-profile-content">
<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">
${c.user.firstname}
</div>
</div>
<div class="fieldset">
<div class="left-label">
${_('Last name')}:
</div>
<div class="right-content">
${c.user.lastname}
</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>