8
0
pdfdokumente/Application/views/tpl/documents/inc/page/header.tpl

13 Zeilen
496 B
Smarty

2020-06-13 22:43:57 +02:00
[{assign var="showLogo" value=$showLogo|default:true}]
[{block name="pdfHeader"}]
<div class="header">
[{if $showLogo}]
2020-06-14 00:46:17 +02:00
[{* pdf logo is available only in non admin theme *}]
2020-07-02 10:35:56 +02:00
[{assign var="isAdmin" value=$viewConfig->isAdmin()}]
[{$viewConfig->setAdminMode(false)}]
<img class="logo" alt="Logo" src="[{$viewConfig->getImageUrl('pdf_logo.jpg')}]">
[{$viewConfig->setAdminMode($isAdmin)}]
2020-06-13 22:43:57 +02:00
[{/if}]
</div>
[{/block}]