Mercurial > public > src > rhodecode
changeset 2738:4dbc00e9d0c3 beta
fixes issue #506
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 20 Jul 2012 12:57:48 +0200 |
parents | d6fa7805e687 |
children | fc38df41b9b7 |
files | rhodecode/templates/admin/users/user_edit.html |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit.html Fri Jul 20 12:52:28 2012 +0200 +++ b/rhodecode/templates/admin/users/user_edit.html Fri Jul 20 12:57:48 2012 +0200 @@ -133,7 +133,7 @@ </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> @@ -162,7 +162,9 @@ <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> @@ -211,6 +213,7 @@ </tbody> </table> </div> + %endif %endfor </div> </div>