]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig
Default card title
[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 %}
5 <span class="card-title dot-ellipsis dot-resize-update">
6 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}">
ac8489f5 7 {{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }}
3c954825
S
8 </a>
9 </span>
10
11 <div class="{{ subClass|default('original grey-text') }}">
12 <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a>
13 {% if withTags %}
14 {% for tag in entry.tags | slice(0, 3) %}
15 <span class="chip hide-on-med-and-down">
16 <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
17 </span>
18 {% endfor %}
19 {% endif %}
20 </div>
21</div>