ajout du bouton et du champs dans le panel pour télécharger le pdf
This commit is contained in:
parent
a9d24a43a9
commit
8c8295b677
6 changed files with 33 additions and 1 deletions
|
|
@ -15,6 +15,13 @@
|
|||
/ <a
|
||||
href="/categories/<?= $page->category() ?>"><?= $page->category() ?></a>
|
||||
</p>
|
||||
<?php if ($document = $page->pdfVersion()->toFile()): ?>
|
||||
<p class="only-screen">
|
||||
<a href="<?= $document->url() ?>" target= "_blank">
|
||||
télécharger le pdf
|
||||
</a>
|
||||
</p>
|
||||
<?php endif ?>
|
||||
<p class="only-print">
|
||||
<span class="light">imprimé le </span><span><?= \Kirby\Toolkit\Date::today()->format('d/m/Y'); ?></span><br>
|
||||
<span class="light url"><?= $page->url() ?></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue