custom brief > do not automatically redirect to PDF dialog if there is a PDF

This commit is contained in:
isUnknown 2025-01-07 18:33:55 +01:00
parent 732c91459a
commit cd04c232a6

View file

@ -1,5 +1 @@
<?php if ($page->pdf()->isNotEmpty()) {
go($page->parent()->url() . '?dialog=client-brief');
} else {
snippet('generic-template');
} ?>
<?php snippet('generic-template') ?>