show printer icon if 'print' in global 'pageActions' option'
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3941 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
106626d74d
commit
cff8e8104a
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@
|
||||||
|
|
||||||
|
|
||||||
<metal:actions define-macro="page_actions">
|
<metal:actions define-macro="page_actions">
|
||||||
<div class="page-actions" tal:condition="nothing"
|
<div class="page-actions"
|
||||||
|
tal:condition="python: 'print' in view.globalOptions.pageActions"
|
||||||
title="Print this page"
|
title="Print this page"
|
||||||
i18n:attributes="title">
|
i18n:attributes="title">
|
||||||
<a href="javascript:print()">
|
<a href="javascript:print()">
|
||||||
|
|
Loading…
Add table
Reference in a new issue