##// END OF EJS Templates
ui: added action link that repliaces current mix of actions in options and action buttons...
ui: added action link that repliaces current mix of actions in options and action buttons - this was part of new UI that we didn't ship in 4.17 - makes whole UX more consistent and has a single creation path for many different objects - this is ready for more actions in future - context actions change if we're in repo group or repo - new users has creation option available if their personal repository group exist.

File last commit:

r3686:8b2d8eff new-ui
r3907:c5a907e3 default
Show More
my_account_profile.mako
63 lines | 2.0 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>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="panel-body fields">
<div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Photo')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
%if c.visual.use_gravatar:
${base.gravatar(c.user.email, 100)}
%else:
ui: fix avatars rendering
r3686 ${base.gravatar(c.user.email, 100)}
Liviu
Changeset view summary box changes and fixed my profile view
r3685 %endif
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Username')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.username}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('First Name')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.first_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Last Name')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.last_name}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="field">
<div class="label">
templating: use .mako as extensions for template files.
r1282 ${_('Email')}:
</div>
Liviu
Changeset view summary box changes and fixed my profile view
r3685 <div class="input">
<div class="text-as-placeholder">
${c.user.email or _('Missing email, please update your user email address.')}
</div>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
</div>
</div>