Show More
user_group.mako
46 lines
| 1.7 KiB
| application/x-mako
|
MakoHtmlLexer
Bartłomiej Wołyńczyk
|
r2638 | <%inherit file="/base/base.mako"/> | ||
<%def name="title()"> | ||||
${_('User group')}: ${c.user_group.users_group_name} | ||||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
<%def name="breadcrumbs_links()"> | ||||
${_('User group')}: ${c.user_group.users_group_name} | ||||
</%def> | ||||
<%def name="menu_bar_nav()"> | ||||
${self.menu_items(active='my_account')} | ||||
</%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=='profile' else ''}"> | ||||
<a href="${h.route_path('user_group_profile', user_group_name=c.user_group.users_group_name)}">${_('User Group Profile')}</a></li> | ||||
## 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="/user_group/${c.active}.mako"/> | ||||
</div> | ||||
</div> | ||||
</div> | ||||
</%def> | ||||