@@ -130,13 +130,13 @@
${h.reset('reset',_('Reset'),class_="ui-btn large")}
</div>
${h.end_form()}
<div class="box box-right">
<div style="min-height:780px" class="box box-right">
<!-- box / title -->
<div class="title">
<h5>${_('Permissions')}</h5>
${h.form(url('user_perm', id=c.user.user_id),method='put')}
<div class="form">
@@ -159,13 +159,15 @@
## permissions overview
<div id="perms" class="table">
%for section in sorted(c.perm_user.permissions.keys()):
<div class="perms_section_head">${section.replace("_"," ").capitalize()}</div>
%if not c.perm_user.permissions[section]:
<span style="color:#B9B9B9">${_('Nothing here yet')}</span>
%else:
<div id='tbl_list_wrap_${section}' class="yui-skin-sam">
<table id="tbl_list_${section}">
<thead>
<tr>
<th class="left">${_('Name')}</th>
<th class="left">${_('Permission')}</th>
@@ -208,12 +210,13 @@
</td>
</tr>
%endfor
</tbody>
</table>
%endif
<div class="box box-left">
Status change: