You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
<?page title="approve status" contentType="text/html;charset=UTF-8"?>
|
|
<zk xmlns="http://www.zkoss.org/2005/zul"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
|
|
|
|
<label value="${labels.RequirementApproveStatus}"/>
|
|
<button label="${labels.RequirementApprove}"
|
|
image="/img/approve-016.png"
|
|
onClick="@command('approve')"
|
|
disabled="@load(not vm.canApprove)"
|
|
sclass="nicebutton"/>
|
|
<vbox children="@load(vm.dataBean.workflow)">
|
|
<template name="children">
|
|
<grid model="@load(vm.dataBean.authorization)">
|
|
<columns>
|
|
<column label="@load(each.role.description)"/>
|
|
<column label="Datum"/>
|
|
</columns>
|
|
<rows>
|
|
<template name="model" var="auth">
|
|
<row visible="@load(auth.role eq each.role)">
|
|
<label value="@load(auth.approver.fullName)"/>
|
|
<label value="@load(auth.authDate) @converter('formatedDate', format=labels.DateTimeFormat)"/>
|
|
</row>
|
|
</template>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</vbox>
|
|
|
|
</zk> |