PHRAS-2757_print-feedback_4.1

Add a print format when printing a feedback basket
Only the creator of the feedback can print it.
This commit is contained in:
Jean-Yves Gaulier
2020-01-09 20:31:09 +01:00
parent fb9fb9648f
commit 32fbf049cf
5 changed files with 712 additions and 526 deletions

View File

@@ -2,6 +2,17 @@
<form target="_blank" name="formprintpage" method="POST" action="{{ path('prod_printer_print') }}">
<div id="printBox">
<div style="padding:10px;">
{% if basketFeedbackId %}
<h4>{{ 'phraseanet:: basket feedback' | trans }}</h4>
<input type="hidden" name="ssel" value="{{ basketFeedbackId }}" />
<div style="margin: 10px 0 20px 0; padding: 0 10px;">
<label for="RADI_PRE_BF" class="radio">
<input type="radio" name="lay" value="feedback" id="RADI_PRE_BF" />
{{ 'print:: basket feedback' | trans }}
</label>
</div>
{% endif %}
{% if printer.get_count_actionable() > 0 %}
{% if printer.get_count_preview() > 0 %}
<h4>{{ 'phraseanet:: preview' | trans }}</h4>