Do definice pracovních skupin byl přidán vyhledávací edit. Doplněna
kontrola členství v komisích/střediscích. refs #123 closes #119
This commit is contained in:
@@ -30,18 +30,20 @@
|
||||
</rows>
|
||||
</grid>
|
||||
<label value="Přetáhněte myší:"/>
|
||||
<hlayout>
|
||||
<listbox id="users" model="@bind(vm.users)" height="380px" width="300px" multiple="true"
|
||||
droppable="true" onDrop="@command('addMember', event=event)">
|
||||
<listhead>
|
||||
<listheader label="Uživatelé" sort="czech(fullName)"/>
|
||||
</listhead>
|
||||
<template name="model">
|
||||
<listitem image="@load(each.person ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.fullName)" draggable="user" droppable="user"
|
||||
onDrop="@command('addMember', event=event)" attributes.item="@load(each)"/>
|
||||
</template>
|
||||
</listbox>
|
||||
|
||||
<hlayout>
|
||||
<vbox>
|
||||
<textbox value="@bind(vm.findUser)" onChange="@command('find')" instant="true" width="300px"/>
|
||||
<listbox id="users" model="@bind(vm.users)" height="380px" width="300px" multiple="true"
|
||||
droppable="true" onDrop="@command('addMember', event=event)" selectedItems="@bind(vm.selectedUsers)">
|
||||
<listhead>
|
||||
<listheader label="Uživatelé" sort="czech(fullName)"/>
|
||||
</listhead>
|
||||
<template name="model">
|
||||
<listitem image="@load(each.person ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.fullName)" draggable="user" droppable="user"
|
||||
onDrop="@command('addMember', event=event)" attributes.item="@load(each)"/>
|
||||
</template>
|
||||
</listbox>
|
||||
</vbox>
|
||||
|
||||
<tabbox mold="accordion" width="300px">
|
||||
<tabs children="@load(vm.workgroupRoles)">
|
||||
|
||||
Reference in New Issue
Block a user