]>
Commit | Line | Data |
---|---|---|
1 | <div class="card"> | |
2 | <div class="card-body"> | |
3 | <div class="card-fullimage"> | |
4 | <ul class="card-entry-labels"> | |
5 | {% for tag in entry.tags | slice(0, 3) %} | |
6 | <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li> | |
7 | {% endfor %} | |
8 | </ul> | |
9 | <a href="{{ path('view', { 'id': entry.id }) }}"> | |
10 | <span class="preview" style="background-image: url({{ entry.previewPicture }})"></span> | |
11 | </a> | |
12 | </div> | |
13 | ||
14 | <div class="card-content"> | |
15 | <span class="card-title dot-ellipsis dot-resize-update"> | |
16 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}"> | |
17 | {{ entry.title | striptags | truncate(80, true, '…') | raw }} | |
18 | </a> | |
19 | </span> | |
20 | ||
21 | <div class="original grey-text"> | |
22 | <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text"> | |
23 | <span>{{ entry.domainName|removeWww }}</span> | |
24 | </a> | |
25 | </div> | |
26 | </div> | |
27 | </div> | |
28 | ||
29 | {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} | |
30 | </div> |