1234567891011121314151617181920212223242526272829303132333435 |
- <a href="{{ path('show_user', {'slug': comment.u.s}) }}" >{{ comment.u.n }}</a>:
- {{ comment.c }}
- <span class="datesince">
- ({{ date_or_relative_date(comment.d, 'comment.created') }}{% if comment.e is defined %}
- {{ date_or_relative_date(comment.e, 'comment.edited') }}{% endif %})
- </span>
-
- {% if app.user.id != comment.u.i %}
- <a title="{{ 'comment.report.link_title'|trans({}, 'userui') }}"
- class="comment_report"
- href="{{ path('ajax_alert_comment', {'element_id':element_id, 'date': comment.d, 'token':app.user.getPersonalHash}) }}">
- <img src="{{ asset('bundles/muzichcore/img/1331832708_comment_alert.png') }}" alt="report" />
- </a>
- {% endif %}
-
- {% if app.user.id == comment.u.i %}
- <a title="{{ 'comment.edit.link'|trans({}, 'elements') }}" class="comment_edit_link"
- href="{{ path('ajax_edit_comment', {'element_id': element_id, 'date':comment.d, 'token':app.user.getPersonalHash}) }}" style="display: none;"
- >
- <img src="{{ asset('bundles/muzichcore/img/1327151338_desktop.png') }}" alt="edit" />
- </a>
-
- <a title="{{ 'comment.remove.link'|trans({}, 'elements') }}" class="comment_remove_link"
- href="{{ path('ajax_delete_comment', {'element_id': element_id, 'date':comment.d, 'token':app.user.getPersonalHash}) }}" style="display: none;"
- >
- <img src="{{ asset('bundles/muzichcore/img/1327168960_fileclose.png') }}" alt="delete" />
- </a>
-
- <img
- class="comment_loader"
- style="display: none;"
- src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}"
- alt="loading"
- />
- {% endif %}
|