Minor - Replace gif image with font-awesome icon in work commments - refs BT#12881

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 16fe6a869d
commit 15de6b09a3
  1. 22
      main/template/default/work/comments.tpl

@ -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 %}

Loading…
Cancel
Save