]>
Commit | Line | Data |
---|---|---|
1 | <div class="card-content"> | |
2 | {% if withPreview is defined %} | |
3 | <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> | |
4 | {% endif %} | |
5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> | |
6 | {{ entry.title | striptags | truncate(80, true, '…') | default('entry.default_title'|trans) | raw }} | |
7 | </a> | |
8 | ||
9 | <div class="{{ subClass|default('original grey-text') }}"> | |
10 | <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a> | |
11 | {% if withMetadata is defined %} | |
12 | {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'entryId': entry.id, 'listClass': ' hide-on-med-and-down'} only %} | |
13 | <div class="reading-time grey-text"> | |
14 | <div class="card-reading-time">{% include "@WallabagCore/themes/material/Entry/_reading_time.html.twig" with {'entry': entry} only %}</div> | |
15 | </div> | |
16 | {% endif %} | |
17 | </div> | |
18 | </div> |