##// END OF EJS Templates
perms: use text labels about given permissions instead of potentially display icon....
perms: use text labels about given permissions instead of potentially display icon. - icon can be misleading becuase lack of it gives no explicit state explanation - using True/False labels makes more sense - this is also compliant with UI for people with disabilities.

File last commit:

r1282:90601d74 default
r2010:29e0af07 default
Show More
widgets.mako
18 lines | 441 B | application/x-mako | MakoHtmlLexer
<%def name="panel(title='', category='default', class_='')">
<div class="panel panel-${category} ${class_}">
%if title or hasattr(caller, 'title'):
<div class="panel-heading">
<h3 class="panel-title">
%if title:
${title}
%else:
${caller.title()}
%endif
</h3>
</div>
%endif
<div class="panel-body">
${caller.body()}
</div>
</div>
</%def>