provide print-only CSS class - use for showing report title in print output
This commit is contained in:
parent
80404a99f2
commit
7c85e5ac15
2 changed files with 8 additions and 0 deletions
|
|
@ -117,6 +117,12 @@ thead th {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen {
|
||||||
|
.print-only {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* class-specific */
|
/* class-specific */
|
||||||
|
|
||||||
.breadcrumbs td {
|
.breadcrumbs td {
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
|
|
||||||
<div metal:define-macro="header">
|
<div metal:define-macro="header">
|
||||||
|
<h1 class="print-only"
|
||||||
|
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">
|
||||||
<input type="hidden" name="show_results" value="True" />
|
<input type="hidden" name="show_results" value="True" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue