mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-02 13:29:22 +00:00
2f510787e7
Fixes #2424 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
31 lines
1.3 KiB
Twig
31 lines
1.3 KiB
Twig
<div class="card">
|
|
<div class="card-body">
|
|
<div class="card-fullimage">
|
|
<ul class="card-entry-labels">
|
|
{% for tag in entry.tags | slice(0, 3) %}
|
|
<li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
<a href="{{ path('view', { 'id': entry.id }) }}">
|
|
<span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
<span class="card-title dot-ellipsis dot-resize-update">
|
|
<a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}">
|
|
{{ entry.title | striptags | truncate(80, true, '…') | raw }}
|
|
</a>
|
|
</span>
|
|
|
|
<div class="original grey-text">
|
|
<a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text">
|
|
<span>{{ entry.domainName|removeWww }}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %}
|
|
</div>
|