diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig new file mode 100644 index 00000000..ab7295d5 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | |||
@@ -0,0 +1,15 @@ | |||
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 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> | ||
6 | {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }} | ||
7 | </a> | ||
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> | ||
11 | {% if withTags is defined %} | ||
12 | {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'listClass': ' hide-on-med-and-down'} only %} | ||
13 | {% endif %} | ||
14 | </div> | ||
15 | </div> | ||