]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig
Fix broken link to remove tags from entries
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / Card / _content.html.twig
CommitLineData
3c954825
S
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 %}
a8541089 5 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update">
5e0c44a2 6 {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }}
a8541089 7 </a>
3c954825
S
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>
49fb9e7c 11 {% if withTags is defined %}
8e15ece7 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 %}
3c954825
S
13 {% endif %}
14 </div>
15</div>