loops/organize/work/meeting.pt

183 lines
6.5 KiB
XML

<html i18n:domain="loops">
<div metal:define-macro="content"
tal:define="report item/reportInstance;
reportView nocall:item;
results reportView/results">
<div tal:attributes="class string:content-$level;">
<metal:block use-macro="view/concept_macros/concepttitle" />
<metal:block use-macro="view/concept_macros/conceptfields" />
</div><br />
<span class="button"
tal:condition="item/reportDownload">
<a target="_blank"
tal:attributes="href string:${item/targetUrl}/${item/reportDownload}"
i18n:translate="">Download Meeting Minutes</a></span>
<br />&nbsp;
<div metal:use-macro="reportView/resultsRenderer" />
</div>
<metal:doc define-macro="document"
tal:define="item nocall:view;
report item/reportInstance;
reportView nocall:item;
results reportView/results;
fields results/context/fields">
<metal:page use-macro="item/macros/page_header" />
<div class ="Section2">
<table class="report" width="100%"
tal:define="showCheckboxes nothing">
<metal:header use-macro="item/macros/header" />
<metal:header use-macro="item/macros/rows" />
</table>
</div>
</metal:doc>
<metal:page define-macro="page_header">
<table width="100%">
<tr>
<td>&nbsp;</td>
<td><h1 i18n:translate="">Meeting Minutes</h1></td>
<td><span i18n:translate="">Page</span> </td>
</tr>
</table>
</metal:page>
<metal:header define-macro="header"
tal:define="row results/first">
<tr>
<td colspan="4">
<div tal:define="col fields/eventTitle">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></div>
<div tal:define="col fields/eventDescription">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></div>
</td>
</tr>
<tr>
<td colspan="2">
<span tal:define="col fields/eventDate">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></span>
</td>
<td colspan="2">
<span tal:define="col fields/eventStart">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></span> -
<span tal:define="col fields/eventEnd">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></span>
</td>
</tr>
<tr>
<td width="20%"
i18n:translate="">Participants</td>
<td colspan="3">
<span tal:define="col fields/participants">
<metal:col use-macro="python:item.getColumnRenderer(col)" /></span>
</td>
</tr>
</metal:header>
<metal:results define-macro="results">
<table class="report"
tal:define="showCheckboxes cb_name|nothing">
<metal:rows define-macro="rows">
<tr tal:condition="showCheckboxes">
<th style="border: 1px solid grey; width: 5%">
<input type="checkbox" checked
tal:attributes="onclick
string:toggleCheckBoxes(this, '$cb_name:list')" /></th>
<th colspan="4"
i18n:translate=""
style="border: 1px solid grey">Copy Agenda Items</th>
</tr>
<tr>
<td style="width: 15%">&nbsp;</td>
<td style="width: 53%">&nbsp;</td>
<td style="width: 20%">&nbsp;</td>
<td style="width: 12%">&nbsp;</td>
</tr>
<tal:task repeat="row results">
<tr>
<td tal:condition="showCheckboxes"
style="border: 1px solid grey">
<input type="checkbox" checked
tal:attributes="name string:$cb_name:list;
value row/context/uid" /></td>
<td colspan="4"
style="border: 1px solid grey"
tal:define="col report/fields/title"
tal:attributes="class col/cssClass">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</td>
</tr>
<tr tal:repeat="colname python:
('responsible', 'description', 'discussion', 'consequences')">
<tal:field define="col report/fields/?colname">
<td style="border: 1px solid grey"
tal:condition="showCheckboxes"></td>
<td style="border: 1px solid grey; width: 15%"
tal:content="col/title"
i18n:translate=""></td>
<td colspan="3"
style="border: 1px solid grey; width: 85%"
tal:attributes="class col/cssClass">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</td>
</tal:field>
</tr>
<tr>
<th style="border: 1px solid grey"
tal:condition="showCheckboxes"></th>
<th colspan="2"
style="border: 1px solid grey; width: 68%"
i18n:translate="">header_workitems</th>
<th style="border: 1px solid grey; width: 20%"
i18n:translate="">header_responsible</th>
<th style="border: 1px solid grey; width: 12%"
i18n:translate="">header_deadline</th>
</tr>
<tal:workitems define="col report/fields/workItems">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</tal:workitems>
</tal:task>
</metal:rows>
</table>
</metal:results>
<metal:sub define-macro="subreport"
tal:define="results python:col.getValue(row);
fields results/displayedColumns">
<tr class="listing" tal:repeat="row results">
<td tal:condition="showCheckboxes"
style="border: 1px solid grey" />
<td colspan="2"
tal:define="col fields/title"
tal:attributes="class col/cssClass"
style="border: 1px solid grey; width: 68%">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</td>
<td tal:define="col fields/userName"
tal:attributes="class col/cssClass"
style="border: 1px solid grey; width: 20%">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</td>
<td tal:define="col fields/deadline"
tal:attributes="class col/cssClass"
style="border: 1px solid grey; width: 12%">
<metal:column use-macro="python:
reportView.getColumnRenderer(col)" />
</td>
</tr>
</metal:sub>
</html>