Show More
@@ -133,7 +133,7 | |||||
133 | </div> |
|
133 | </div> | |
134 | ${h.end_form()} |
|
134 | ${h.end_form()} | |
135 | </div> |
|
135 | </div> | |
136 | <div class="box box-right"> |
|
136 | <div style="min-height:780px" class="box box-right"> | |
137 | <!-- box / title --> |
|
137 | <!-- box / title --> | |
138 | <div class="title"> |
|
138 | <div class="title"> | |
139 | <h5>${_('Permissions')}</h5> |
|
139 | <h5>${_('Permissions')}</h5> | |
@@ -162,7 +162,9 | |||||
162 | <div id="perms" class="table"> |
|
162 | <div id="perms" class="table"> | |
163 | %for section in sorted(c.perm_user.permissions.keys()): |
|
163 | %for section in sorted(c.perm_user.permissions.keys()): | |
164 | <div class="perms_section_head">${section.replace("_"," ").capitalize()}</div> |
|
164 | <div class="perms_section_head">${section.replace("_"," ").capitalize()}</div> | |
165 |
|
165 | %if not c.perm_user.permissions[section]: | ||
|
166 | <span style="color:#B9B9B9">${_('Nothing here yet')}</span> | |||
|
167 | %else: | |||
166 | <div id='tbl_list_wrap_${section}' class="yui-skin-sam"> |
|
168 | <div id='tbl_list_wrap_${section}' class="yui-skin-sam"> | |
167 | <table id="tbl_list_${section}"> |
|
169 | <table id="tbl_list_${section}"> | |
168 | <thead> |
|
170 | <thead> | |
@@ -211,6 +213,7 | |||||
211 | </tbody> |
|
213 | </tbody> | |
212 | </table> |
|
214 | </table> | |
213 | </div> |
|
215 | </div> | |
|
216 | %endif | |||
214 | %endfor |
|
217 | %endfor | |
215 | </div> |
|
218 | </div> | |
216 | </div> |
|
219 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now