mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
comments: edit links with anchor and parameter
This commit is contained in:
parent
530267a9b0
commit
3c1c07dc64
@ -7,12 +7,12 @@
|
||||
{% if options.pinned is defined %}
|
||||
<i class="fa fa-flag fa-fw" title="{{ 'pinned'|trans }}"></i>
|
||||
{% endif %}
|
||||
<a id="comment{{ comment.id }}" href="#comment{{ comment.id }}" class="fa fa-pencil-square-o fa-fw"></a>
|
||||
<a id="comment{{ comment.id }}" href="{{ '#comment' ~ comment.id }}" class="fa fa-pencil-square-o fa-fw"></a>
|
||||
{{ 'by'|trans }}<b>{{ comment.creator }}</b>{{ ', ' ~ 'on'|trans ~ ' ' ~ comment.createdAt|format_date('long') }}<br>
|
||||
<i>{{ 'Last updated on'|trans ~ ' ' ~ comment.updatedAt|format_datetime('long', 'short') }}</i>
|
||||
</div>
|
||||
<ul class="record_actions">
|
||||
<li><a class="btn btn-edit" title="{{ 'Edit'|trans }}" href=""></a></li>
|
||||
<li><a class="btn btn-edit" title="{{ 'Edit'|trans }}" href="{{ '?edit=' ~ comment.id ~ '#comment' ~ comment.id }}"></a></li>
|
||||
<li><a class="btn btn-delete" title="{{ 'Delete'|trans }}" href=""></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user