0001-forms-add-class-to-file-widget-when-displaying-a-thu.patch
wcs/qommon/templates/qommon/forms/widgets/file.html | ||
---|---|---|
18 | 18 |
data-upload="{% trans "Upload in progress..." %}" |
19 | 19 |
data-error="{% trans "Error during upload." %}"></div> |
20 | 20 |
</div> |
21 |
<div class="fileinfo"> |
|
21 |
<div class="fileinfo {% if widget.readonly and widget.has_tempfile_image %}thumbnail{% endif %}">
|
|
22 | 22 |
<span class="filename">{{ widget.tempfile.base_filename }}</span> |
23 | 23 |
{% if not widget.readonly %} |
24 | 24 |
<a href="#" class="remove" title="{% trans 'Remove this file' %}">{% trans "remove" %}</a> |
25 |
- |