V agendě Střediska se zobrazují funkce (Příkazce, Správce rozpočtu...).

refs #97
This commit is contained in:
2014-07-07 15:24:52 +02:00
parent 601e3eedcb
commit dd369c5186
4 changed files with 60 additions and 21 deletions
@@ -46,7 +46,7 @@
<tabbox mold="accordion" width="300px">
<tabs children="@load(vm.workgroupRoles)">
<template name="children">
<tab label="@load(each.description)" />
<tab label="@load(each.authority eq 'ROLE_USER' ? 'Členové' : each.description)" />
</template>
</tabs>
<tabpanels children="@load(vm.workgroupRoles)">
+34 -16
View File
@@ -57,22 +57,40 @@
</template>
</listbox>
<groupbox mold="3d" closable="false">
<caption label="členové"/>
<tree hflex="1" model="@load(vm.workgroupTreeModel)">
<treecols>
<treecol/>
</treecols>
<template name="model">
<treeitem>
<treerow>
<treecell image="@load(each.data.person ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.data.fullName)"/>
</treerow>
</treeitem>
</template>
</tree>
</groupbox>
<vbox>
<vbox children="@load(vm.workgroupRoles)">
<template name="children">
<grid model="@load(vm.dataBean.members)" visible="@load(each.authority ne 'ROLE_USER')">
<columns>
<column label="@load(each.description)"/>
</columns>
<rows>
<template name="model" var="member">
<row visible="@load(member.role eq each)">
<label value="@load(member.member.fullName)"/>
</row>
</template>
</rows>
</grid>
</template>
</vbox>
<groupbox mold="3d" closable="false">
<caption label="členové"/>
<tree hflex="1" model="@load(vm.workgroupTreeModel)">
<treecols>
<treecol/>
</treecols>
<template name="model">
<treeitem>
<treerow>
<treecell image="@load(each.data.person ? '/img/user-small.png' : '/img/commission-small.png')" label="@load(each.data.fullName)"/>
</treerow>
</treeitem>
</template>
</tree>
</groupbox>
</vbox>
</hbox>
</window>
</zk>