Commits

Marcin Kuzminski  committed 4dbc00e

fixes issue #506

  • Participants
  • Parent commits d6fa780

Comments (0)

Files changed (1)

File rhodecode/templates/admin/users/user_edit.html

     </div>
     ${h.end_form()}
 </div>
-<div class="box box-right">
+<div style="min-height:780px" class="box box-right">
     <!-- box / title -->
     <div class="title">
         <h5>${_('Permissions')}</h5>
     <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>
                 </tbody>
                </table>
               </div>
+              %endif
            %endfor
     </div>
 </div>