reporting: corresponding cssClass usage in table headers and rows; use for work report
This commit is contained in:
parent
5676194e56
commit
e5c88c2111
2 changed files with 6 additions and 3 deletions
|
|
@ -51,8 +51,8 @@
|
|||
tal:define="results reportView/results">
|
||||
<tr>
|
||||
<th style="white-space: nowrap"
|
||||
tal:attributes="class col/cssClass"
|
||||
tal:repeat="col results/displayedColumns">
|
||||
<span tal:attributes="class col/cssClass">
|
||||
<a title="tooltip_sort_column"
|
||||
tal:define="colName col/name"
|
||||
tal:omit-tag="python:not item.isSortableColumn(tableName, colName)"
|
||||
|
|
@ -64,7 +64,6 @@
|
|||
tal:condition="src"
|
||||
tal:attributes="src src" />
|
||||
</a>
|
||||
</span>
|
||||
</th>
|
||||
</tr>
|
||||
<tr tal:repeat="row results"
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ dayTo = TrackDateField('dayTo', u'End Day',
|
|||
executionSteps=['query'])
|
||||
day = TrackDateField('day', u'Day',
|
||||
description=u'The day the work was done.',
|
||||
cssClass='center',
|
||||
cssClass='left',
|
||||
executionSteps=['sort', 'output'])
|
||||
dayStart = TrackDateField('dayStart', u'Start Day',
|
||||
description=u'The day the unit of work was started.',
|
||||
|
|
@ -190,15 +190,18 @@ dayEnd = TrackDateField('dayEnd', u'End Day',
|
|||
executionSteps=['sort', 'output'])
|
||||
timeStart = TrackTimeField('start', u'Start',
|
||||
description=u'The time the unit of work was started.',
|
||||
cssClass='noprint',
|
||||
executionSteps=['sort', 'output'])
|
||||
timeEnd = TrackTimeField('end', u'End',
|
||||
description=u'The time the unit of work was finished.',
|
||||
cssClass='noprint',
|
||||
executionSteps=['output'])
|
||||
task = TargetField('taskId', u'Task',
|
||||
description=u'The task to which work items belong.',
|
||||
executionSteps=['sort', 'output'])
|
||||
party = PartyQueryField('userName', u'Party',
|
||||
description=u'The party (usually a person) who did the work.',
|
||||
cssClass='noprint',
|
||||
fieldType='selection',
|
||||
executionSteps=['sort', 'output', 'query'])
|
||||
#partyQuery = TargetField('userName', u'Party',
|
||||
|
|
@ -229,6 +232,7 @@ partyState = PartyStateField('partyState', u'Party State',
|
|||
executionSteps=['query', 'output'])
|
||||
activity = ActivityField('activity', u'LA',
|
||||
description=u'The activity assigned to the work item.',
|
||||
cssClass='noprint',
|
||||
fieldType='selection',
|
||||
executionSteps=['query', 'sort', 'output'])
|
||||
# process
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue