##// END OF EJS Templates
search: in path search add lines/size information similar like in content matches since we have those information in ES.
search: in path search add lines/size information similar like in content matches since we have those information in ES.

File last commit:

r3254:77d66318 default
r3322:186655dc default
Show More
my_account.mako
55 lines | 2.8 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('My account')} ${c.rhodecode_user.username}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
${_('My Account')}
</%def>
<%def name="menu_bar_nav()">
base: show my account as active when we're showing this view....
r1318 ${self.menu_items(active='my_account')}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
<div class="sidebar-col-wrapper scw-small">
##main
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
my-account: moved profile page into pyramid.
r1540 <li class="${'active' if c.active=='profile' or c.active=='profile_edit' else ''}"><a href="${h.route_path('my_account_profile')}">${_('Profile')}</a></li>
my-account: switched my-password view to pyramid.
r1537 <li class="${'active' if c.active=='password' else ''}"><a href="${h.route_path('my_account_password')}">${_('Password')}</a></li>
my-account-auth-tokens: moved into pyramid apps....
r1505 <li class="${'active' if c.active=='auth_tokens' else ''}"><a href="${h.route_path('my_account_auth_tokens')}">${_('Auth Tokens')}</a></li>
ssh: added ssh key management into my account.
r2044 <li class="${'active' if c.active in ['ssh_keys', 'ssh_keys_generate'] else ''}"><a href="${h.route_path('my_account_ssh_keys')}">${_('SSH Keys')}</a></li>
user-account: expose membership of user groups to users....
r2496 <li class="${'active' if c.active=='user_group_membership' else ''}"><a href="${h.route_path('my_account_user_group_membership')}">${_('User Group Membership')}</a></li>
oauth: rename to external identity as it would now be serving both oAuth and SAML
r3254 ## TODO: Find a better integration of oauth/saml views into navigation.
<% my_account_external_url = h.route_path_or_none('my_account_external_identity') %>
% if my_account_external_url:
<li class="${'active' if c.active=='external_identity' else ''}"><a href="${my_account_external_url}">${_('External Identities')}</a></li>
templating: use .mako as extensions for template files.
r1282 % endif
my-account: moved emails config into pyramid views.
r1816 <li class="${'active' if c.active=='emails' else ''}"><a href="${h.route_path('my_account_emails')}">${_('Emails')}</a></li>
my-account: moved few my account views into pyramid.
r1819 <li class="${'active' if c.active=='repos' else ''}"><a href="${h.route_path('my_account_repos')}">${_('Repositories')}</a></li>
<li class="${'active' if c.active=='watched' else ''}"><a href="${h.route_path('my_account_watched')}">${_('Watched')}</a></li>
dan
my-account: migrated left over controller functions into pyramid views....
r1892 <li class="${'active' if c.active=='pullrequests' else ''}"><a href="${h.route_path('my_account_pullrequests')}">${_('Pull Requests')}</a></li>
my-account: moved few my account views into pyramid.
r1819 <li class="${'active' if c.active=='perms' else ''}"><a href="${h.route_path('my_account_perms')}">${_('Permissions')}</a></li>
<li class="${'active' if c.active=='my_notifications' else ''}"><a href="${h.route_path('my_account_notifications')}">${_('Live Notifications')}</a></li>
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/my_account/my_account_${c.active}.mako"/>
</div>
</div>
</div>
</%def>