show report title (in print) only if corresponding flag in report instance is set
This commit is contained in:
parent
7c85e5ac15
commit
02b8dd5d13
2 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
<div metal:define-macro="header">
|
<div metal:define-macro="header">
|
||||||
<h1 class="print-only"
|
<h1 class="print-only"
|
||||||
|
tal:condition="report/show_report_title|nothing"
|
||||||
tal:content="report/context/title" />
|
tal:content="report/context/title" />
|
||||||
<metal:block use-macro="view/concept_macros/concepttitle" />
|
<metal:block use-macro="view/concept_macros/concepttitle" />
|
||||||
<form method="get" name="report_data" class="report-meta noprint">
|
<form method="get" name="report_data" class="report-meta noprint">
|
||||||
|
|
|
||||||
|
|
@ -277,6 +277,7 @@ class WorkReportInstance(ReportInstance):
|
||||||
|
|
||||||
type = "work_statement"
|
type = "work_statement"
|
||||||
label = u'Work Statement'
|
label = u'Work Statement'
|
||||||
|
show_report_title = True
|
||||||
|
|
||||||
rowFactory = WorkRow
|
rowFactory = WorkRow
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue