aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2016-11-28 11:02:10 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2016-11-28 14:27:58 +0100
commit9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224 (patch)
treec8f043dde3a6bdd653aac7136d742f6ed8c49b84 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
parent34ea7be6228c633ef8da703994eed034026e9c18 (diff)
downloadwallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.tar.gz
wallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.tar.zst
wallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.zip
Added list view
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
new file mode 100644
index 00000000..3d971f0b
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
@@ -0,0 +1,14 @@
1<div class="card">
2 <div class="card-stacked">
3 <div class="card-content">
4 <span class="card-title dot-ellipsis dot-resize-update">
5 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | raw | striptags }}">
6 {{ entry.title| striptags | truncate(120, true, '…') | raw }}
7 </a>
8 </span>
9 <p>{{ entry.content|striptags|slice(0, 500)|raw }}&hellip;</p>
10 </div>
11
12 {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %}
13 </div>
14</div>