]>
Commit | Line | Data |
---|---|---|
1 | <div class="card"> | |
2 | <div class="card-stacked"> | |
3 | <div class="card-content"> | |
4 | <span class="card-title dot-ellipsis dot-resize-update"> | |
5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | raw | striptags }}"> | |
6 | {{ entry.title| striptags | truncate(120, true, '…') | raw }} | |
7 | </a> | |
8 | </span> | |
9 | <ul class="tools-list right"> | |
10 | <li> | |
11 | <a title="{{ 'entry.list.toogle_as_read'|trans }}" class="tool grey-text" href="{{ path('archive_entry', { 'id': entry.id }) }}"><i class="material-icons">{% if entry.isArchived == 0 %}done{% else %}redo{% endif %}</i></a> | |
12 | <a title="{{ 'entry.list.toogle_as_star'|trans }}" class="tool grey-text" href="{{ path('star_entry', { 'id': entry.id }) }}"><i class="material-icons">{% if entry.isStarred == 0 %}star_border{% else %}star{% endif %}</i></a> | |
13 | <a title="{{ 'entry.list.delete'|trans }}" class="tool grey-text delete" href="{{ path('delete_entry', { 'id': entry.id }) }}"><i class="material-icons">delete</i></a> | |
14 | </li> | |
15 | </ul> | |
16 | </div> | |
17 | </div> | |
18 | </div> |