diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-11-28 11:26:08 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-11-28 14:27:58 +0100 |
commit | 56a7ce17f3a9a22e0bfc8651cb690a14447e0afd (patch) | |
tree | a65bc6015e1226c9fec33a27c456cf9cf9f6ed5f /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry | |
parent | 8f3ff39ca364a28163fb9ced0eb3291e0c1caeaf (diff) | |
download | wallabag-56a7ce17f3a9a22e0bfc8651cb690a14447e0afd.tar.gz wallabag-56a7ce17f3a9a22e0bfc8651cb690a14447e0afd.tar.zst wallabag-56a7ce17f3a9a22e0bfc8651cb690a14447e0afd.zip |
Hide article text on mobile with list mode
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig | 2 |
1 files changed, 1 insertions, 1 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 index 3d971f0b..b77cdc14 100644 --- 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 | |||
@@ -6,7 +6,7 @@ | |||
6 | {{ entry.title| striptags | truncate(120, true, '…') | raw }} | 6 | {{ entry.title| striptags | truncate(120, true, '…') | raw }} |
7 | </a> | 7 | </a> |
8 | </span> | 8 | </span> |
9 | <p>{{ entry.content|striptags|slice(0, 500)|raw }}…</p> | 9 | <p class="hide-on-med-and-down">{{ entry.content|striptags|slice(0, 500)|raw }}…</p> |
10 | </div> | 10 | </div> |
11 | 11 | ||
12 | {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} | 12 | {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} |