Merge pull request #523 from jygaulier/master-fix1356

Master fix1356
This commit is contained in:
Romain Neutron
2013-07-18 09:46:38 -07:00

View File

@@ -22,12 +22,16 @@
You have selected {{ nbReceivedDocuments }} documents.
{% endtrans %}
{% if nbEditableDocuments < nbReceivedDocuments %}
{% trans %}
Only one document is editable.
{% plural nbEditableDocuments %}
Only {{ nbEditableDocuments }} documents are editable.
{% endtrans %}
{% if nbEditableDocuments == 0 %}
{% trans %}No documents editable{% endtrans %}
{% else %}
{% if nbEditableDocuments < nbReceivedDocuments %}
{% trans %}
Only one document is editable.
{% plural nbEditableDocuments %}
Only {{ nbEditableDocuments }} documents are editable.
{% endtrans %}
{% endif %}
{% endif %}
</h4>
</p>
@@ -66,11 +70,6 @@
{% elseif values["status"] == "0" %}
{% set inverse = 1 %}
{% endif %}
<tr>
<td colspan="6" style='text-align:center;'>
<h6>{{ values['name']|title }}</h6>
</td>
</tr>
<tr>
<td style='text-align:right'>
{% if values['img_off'] is not empty %}
@@ -115,7 +114,9 @@
</table>
{% endfor %}
<div class="form-actions" style="background:transparent">
{% if nbEditableDocuments > 0 %}
<button type="button" class="btn btn-primary submiter">{% trans "Apply changes" %}</button>
{% endif %}
<button type="button" class="btn cancel">{% trans "Cancel" %}</button>
<span class="form-action-loader" style="display:none;">
<img src="../skins/icons/loader414141.gif" />