##// END OF EJS Templates
dependencies: bumped pygments to 2.3.1
dependencies: bumped pygments to 2.3.1

File last commit:

r2610:0b5d6b7f default
r3358:88d9f8c8 default
Show More
user.mako
46 lines | 1.6 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%inherit file="/base/base.mako"/>
<%def name="title()">
ui/user profiles: add better explanation of what we are viewing.
r2610 ${_('User')}: ${c.user.username}
templating: use .mako as extensions for template files.
r1282 %if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
ui/user profiles: add better explanation of what we are viewing.
r2610 ${_('User')}: ${c.user.username}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="menu_bar_nav()">
user-profile: migrated to pyramid views.
r1502 ${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">
<li class="${'active' if c.active=='user_profile' else ''}">
user-profile: migrated to pyramid views.
r1502 <a href="${h.route_path('user_profile', username=c.user.username)}">${_('Profile')}</a></li>
templating: use .mako as extensions for template files.
r1282 ## These placeholders are here only for styling purposes. For every new item added to the list, you should remove one placeholder
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
</ul>
</div>
<div class="main-content-full-width">
<%include file="/users/${c.active}.mako"/>
</div>
</div>
</div>
</%def>