|
|
|
|
@ -19,17 +19,19 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
</p> |
|
|
|
|
{% if comment.file_url is not empty %} |
|
|
|
|
<p> |
|
|
|
|
<a href="{{ comment.file_url }}"> |
|
|
|
|
<img src="{{ "attachment.gif"|icon(32) }}" width="32" height="32"> |
|
|
|
|
{{ comment.file_name_to_show }} |
|
|
|
|
</a> |
|
|
|
|
{% if is_allowed_to_edit %} |
|
|
|
|
<a href="{{ comment.delete_file_url }}"> |
|
|
|
|
<img src="{{ "delete.png"|icon(22) }}" width="22" height="22"> |
|
|
|
|
<ul class="fa-ul"> |
|
|
|
|
<li> |
|
|
|
|
<span class="fa-li fa fa-paperclip"></span> |
|
|
|
|
<a href="{{ comment.file_url }}"> |
|
|
|
|
{{ comment.file_name_to_show }} |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</p> |
|
|
|
|
{% if is_allowed_to_edit %} |
|
|
|
|
<a href="{{ comment.delete_file_url }}"> |
|
|
|
|
{{ 'delete.png'|img(22, 'Delete'|get_lang) }} |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
{% endif %} |
|
|
|
|
</li> |
|
|
|
|
{% endfor %} |
|
|
|
|
|