2017-12-20 20:02:37 +00:00
|
|
|
<div class="card-content">
|
|
|
|
{% if withPreview is defined %}
|
|
|
|
<i class="grey-text text-darken-4 activator material-icons right">more_vert</i>
|
|
|
|
{% endif %}
|
2017-12-20 20:04:28 +00:00
|
|
|
<a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update">
|
2018-02-09 18:28:02 +00:00
|
|
|
{{ entry.title | striptags | truncate(80, true, '…') | default('entry.default_title'|trans) | raw }}
|
2017-12-20 20:04:28 +00:00
|
|
|
</a>
|
2017-12-20 20:02:37 +00:00
|
|
|
|
|
|
|
<div class="{{ subClass|default('original grey-text') }}">
|
|
|
|
<a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a>
|
2019-04-27 20:48:28 +00:00
|
|
|
{% if withMetadata is defined %}
|
2017-12-27 20:23:06 +00:00
|
|
|
{% 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 %}
|
2019-04-27 20:48:28 +00:00
|
|
|
<div class="reading-time grey-text">
|
|
|
|
<div class="card-reading-time">{% include "@WallabagCore/themes/material/Entry/_reading_time.html.twig" with {'entry': entry} only %}</div>
|
|
|
|
</div>
|
2017-12-20 20:02:37 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|