mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3631-read-all-notifications
This commit is contained in:
@@ -76,42 +76,44 @@
|
||||
{{ 'print:: Can download subdef' | trans }}
|
||||
</label>
|
||||
<div id="print-download-subdef" style="display: none;">
|
||||
<select id="print-select-download-subdef" name="print-select-download-subdef" style="margin-left: 0px;">
|
||||
{% for subdefName in printer.getAvailableSubdefName %}
|
||||
<option value="{{ subdefName}}" class="download-{{ subdefName }}"
|
||||
data-count=""
|
||||
{% if subdefName == "preview" %} selected {% endif %} >
|
||||
{{ subdefName }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 400px;text-align: center;margin-bottom: 0px;">
|
||||
<span class="download-count-info"></span> {{ 'print:: element downloadable' | trans }}
|
||||
</div>
|
||||
<div class="alert alert-warning" style="padding-top: 4px;padding-bottom: 4px;width: 480px;text-align: center;margin-left: 0px;margin-top: 10px;margin-bottom: 10px;">
|
||||
<span> {{ 'print:: warning! Only available media for chosen subdef is downloadable' | trans }} </span>
|
||||
</div>
|
||||
<div style="margin:10px 0px;">
|
||||
<label>{{ 'print:: subdef url ttl' | trans }}</label>
|
||||
<input style="margin-bottom: 2px;width:100px;" type="number" min="0" name="print-download-ttl" value ="2"/>
|
||||
<select id="print-download-ttl-unit" name="print-download-ttl-unit" style="margin-left: 0px;width:100px">
|
||||
<option value="3600" >{{ 'print:: hour' | trans }}</option>
|
||||
<option value="86400" selected>{{ 'print:: day' | trans }}</option>
|
||||
<option value="604800" >{{ 'print:: week' | trans }}</option>
|
||||
<option value="2592000" >{{ 'print:: month' | trans }}</option>
|
||||
<fieldset style="padding:10px;">
|
||||
<select id="print-select-download-subdef" name="print-select-download-subdef" style="margin-left: 0px;">
|
||||
{% for subdefName in printer.getAvailableSubdefName %}
|
||||
<option value="{{ subdefName}}" class="download-{{ subdefName }}"
|
||||
data-count=""
|
||||
{% if subdefName == "preview" %} selected {% endif %} >
|
||||
{{ subdefName }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin:10px 0px;">
|
||||
<label>{{ 'print:: choose filename' | trans }}</label>
|
||||
<label for="download-title-name" class="radio" style="margin-left: 10px;">
|
||||
<input type="radio" name="print-filename" id="download-title-name" checked value="title" />
|
||||
{{ 'print:: title' | trans }}
|
||||
</label>
|
||||
<label for="download-original-name" class="radio" style="margin-left: 10px;">
|
||||
<input type="radio" name="print-filename" id="download-original-name" value="originalname" />
|
||||
{{ 'print:: original media name' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 400px;text-align: center;margin-bottom: 0px;">
|
||||
<span class="download-count-info"></span> {{ 'print:: element downloadable' | trans }}
|
||||
</div>
|
||||
<div class="alert alert-warning" style="padding-top: 4px;padding-bottom: 4px;width: 480px;text-align: center;margin-left: 0px;margin-top: 10px;margin-bottom: 10px;">
|
||||
<span> {{ 'print:: warning! Only available media for chosen subdef is downloadable' | trans }} </span>
|
||||
</div>
|
||||
<div style="margin:10px 0px;">
|
||||
<label>{{ 'print:: subdef url ttl' | trans }}</label>
|
||||
<input style="margin-bottom: 2px;width:100px;" type="number" min="0" name="print-download-ttl" value ="2"/>
|
||||
<select id="print-download-ttl-unit" name="print-download-ttl-unit" style="margin-left: 0px;width:100px">
|
||||
<option value="3600" >{{ 'print:: hour' | trans }}</option>
|
||||
<option value="86400" selected>{{ 'print:: day' | trans }}</option>
|
||||
<option value="604800" >{{ 'print:: week' | trans }}</option>
|
||||
<option value="2592000" >{{ 'print:: month' | trans }}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin:10px 0px;">
|
||||
<label>{{ 'print:: choose filename' | trans }}</label>
|
||||
<label for="download-title-name" class="radio" style="margin-left: 10px;">
|
||||
<input type="radio" name="print-filename" id="download-title-name" checked value="title" />
|
||||
{{ 'print:: title' | trans }}
|
||||
</label>
|
||||
<label for="download-original-name" class="radio" style="margin-left: 10px;">
|
||||
<input type="radio" name="print-filename" id="download-original-name" value="originalname" />
|
||||
{{ 'print:: original media name' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user