|
|
@ -21,11 +21,14 @@ |
|
|
|
|
|
|
|
<p:toolbar> |
|
|
|
<p:toolbarGroup> |
|
|
|
<p:commandButton value="Nuevo Usuario 👥" icon="pi pi-plus" actionListener="#{usuariosBean.prepararNuevoUsuario()}" |
|
|
|
<p:commandButton value="Nuevo Usuario 👥" icon="pi pi-plus" |
|
|
|
actionListener="#{usuariosBean.prepararNuevoUsuario()}" |
|
|
|
update=":dialogs:manage-product-content" oncomplete="PF('manageProductDialog').show()" |
|
|
|
styleClass="ui-button-raised ui-button-flat" style="margin-right: 0.5rem"> |
|
|
|
styleClass="ui-button-raised ui-button-flat" style="margin-right: 0.5rem" |
|
|
|
rendered="#{ not login.esOperador()}"> |
|
|
|
<p:resetInput target=":dialogs:manage-product-content" /> |
|
|
|
</p:commandButton> |
|
|
|
|
|
|
|
</p:toolbarGroup> |
|
|
|
</p:toolbar> |
|
|
|
|
|
|
@ -74,11 +77,12 @@ |
|
|
|
</p:column> |
|
|
|
|
|
|
|
|
|
|
|
<p:column headerText="Acciones"> |
|
|
|
<p:column headerText="Acciones" rendered="#{not login.esOperador()}"> |
|
|
|
<p:commandButton icon="pi pi-pencil" update=":dialogs:manage-product-content" |
|
|
|
oncomplete="PF('manageProductDialog').show()" |
|
|
|
styleClass="rounded-button ui-button-info" process="@this" |
|
|
|
actionListener="#{usuariosBean.prepararEditarUsuario(usuario)}"> |
|
|
|
actionListener="#{usuariosBean.prepararEditarUsuario(usuario)}" style="margin-right: 10px;" |
|
|
|
> |
|
|
|
<p:resetInput target=":dialogs:manage-product-content" /> |
|
|
|
</p:commandButton> |
|
|
|
|
|
|
|