mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
fix document subdef
This commit is contained in:
@@ -127,7 +127,7 @@ class Printer extends RecordHelper
|
||||
public function getAvailableSubdefName($isForImage = false)
|
||||
{
|
||||
$databoxes = $this->app->getApplicationBox()->get_databoxes();
|
||||
$availableSubdefName = [];
|
||||
$availableSubdefName[] = 'document';
|
||||
|
||||
foreach ($this->selection->get_distinct_sbas_ids() as $sbasId) {
|
||||
if (isset($databoxes[$sbasId])) {
|
||||
|
@@ -118,7 +118,7 @@
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 200px;text-align: center;margin-bottom: 0px;">
|
||||
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 400px;text-align: center;margin-bottom: 0px;">
|
||||
<span class="download-count-info">{{ printer.getSubdefCount['preview'] }} / {{ total_count }} </span>{{ 'print:: element downloadable' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user