add 'noprint' to view modes (tabs) and query input form, and to work item state report field
This commit is contained in:
parent
cd63d7785a
commit
80404a99f2
4 changed files with 10 additions and 9 deletions
|
|
@ -267,7 +267,7 @@
|
|||
|
||||
|
||||
<metal:actions define-macro="view_modes">
|
||||
<ul class="view-modes"
|
||||
<ul class="view-modes noprint"
|
||||
tal:define="viewModes view/viewModes"
|
||||
tal:condition="viewModes">
|
||||
<li tal:repeat="mode viewModes"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div metal:define-macro="header">
|
||||
<metal:block use-macro="view/concept_macros/concepttitle" />
|
||||
<form method="get" name="report_data" class="report-meta">
|
||||
<form method="get" name="report_data" class="report-meta noprint">
|
||||
<input type="hidden" name="show_results" value="True" />
|
||||
<tal:hidden define="params item/dynamicParams">
|
||||
<input type="hidden"
|
||||
|
|
|
|||
|
|
@ -52,18 +52,19 @@
|
|||
<tr>
|
||||
<th style="white-space: nowrap"
|
||||
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)"
|
||||
tal:attributes="href python:item.getSortUrl(tableName, colName)"
|
||||
i18n:attributes="title">
|
||||
<span tal:content="col/title"
|
||||
tal:attributes="class col/cssClass"
|
||||
i18n:translate="" />
|
||||
<img tal:define="src python:item.getSortImage(tableName, colName)"
|
||||
tal:condition="src"
|
||||
tal:attributes="src src" />
|
||||
</a>
|
||||
</span>
|
||||
</th>
|
||||
</tr>
|
||||
<tr tal:repeat="row results"
|
||||
|
|
@ -102,23 +103,23 @@
|
|||
|
||||
|
||||
<metal:state define-macro="state">
|
||||
<tal:column define=" value python:col.getDisplayValue(row)">
|
||||
<span tal:define="value python:col.getDisplayValue(row)">
|
||||
<img tal:condition="value"
|
||||
tal:attributes="src string:$resourceBase${value/icon};
|
||||
alt value/title;
|
||||
title value/title" />
|
||||
</tal:column>
|
||||
</span>
|
||||
</metal:state>
|
||||
|
||||
|
||||
<metal:state define-macro="workitem_state">
|
||||
<tal:column define="value python:col.getDisplayValue(row)"
|
||||
condition="value">
|
||||
<span tal:define="value python:col.getDisplayValue(row)"
|
||||
tal:condition="value">
|
||||
<tal:action repeat="action value/actions">
|
||||
<metal:action tal:condition="action"
|
||||
use-macro="action/macro" />
|
||||
</tal:action>
|
||||
</tal:column>
|
||||
</span>
|
||||
</metal:state>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ effort = DurationField('effort', u'Effort',
|
|||
executionSteps=['output', 'totals'])
|
||||
state = WorkItemStateField('state', u'State',
|
||||
description=u'The state of the work.',
|
||||
cssClass='center',
|
||||
cssClass='center noprint',
|
||||
statesDefinition='workItemStates',
|
||||
executionSteps=['query', 'output'])
|
||||
partyState = PartyStateField('partyState', u'Party State',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue