Add bound resource info in the users list

FEA: ItEr76S27ResourceBinding
This commit is contained in:
Manuel Rego Casasnovas 2012-05-09 10:07:16 +02:00
parent 42baf46926
commit c775cd952b
2 changed files with 3 additions and 0 deletions

View file

@ -84,6 +84,8 @@ public class UserCRUDController extends BaseCRUDController<User> implements
Util.appendLabel(row, user.isDisabled() ? _("Yes") : _("No"));
Util.appendLabel(row, user.isAdministrator() ? _("Yes") : _("No"));
Util.appendLabel(row, getAuthenticationType(user));
Util.appendLabel(row, user.isBound() ? user.getWorker()
.getShortDescription() : "");
Util.appendOperationsAndOnClickEvent(row, new EventListener() {
@Override

View file

@ -28,6 +28,7 @@
<newdatasortablecolumn label="${i18n:_('Disabled')}" />
<newdatasortablecolumn label="${i18n:_('Administrator')}" />
<newdatasortablecolumn label="${i18n:_('Authentication type')}" />
<newdatasortablecolumn label="${i18n:_('Bound resource')}" />
<newdatasortablecolumn label="${i18n:_('Actions')}" />
</columns>
</newdatasortablegrid>