aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2017-12-26 16:00:58 +0100
committerGitHub <noreply@github.com>2017-12-26 16:00:58 +0100
commit3473e600b1d0ae0695b8c15342a6a1f76e2bc973 (patch)
treecb75c9e3ac7bccdffcad97c2aa637a6717bf25e4 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig
parent11ed735c09391f244dfa45b93cdbfded11196866 (diff)
parentc04bde29a36e4a60c596808d0ac45dc23476db44 (diff)
downloadwallabag-3473e600b1d0ae0695b8c15342a6a1f76e2bc973.tar.gz
wallabag-3473e600b1d0ae0695b8c15342a6a1f76e2bc973.tar.zst
wallabag-3473e600b1d0ae0695b8c15342a6a1f76e2bc973.zip
Merge pull request #3525 from Simounet/fix/empty-card-title-link
Fix empty card title link
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig
index c77e716b..e93646dc 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig
@@ -10,22 +10,7 @@
10 <span class="preview" style="background-image: url({{ entry.previewPicture }})"></span> 10 <span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
11 </a> 11 </a>
12 </div> 12 </div>
13 13 {% include "@WallabagCore/themes/material/Entry/Card/_content.html.twig" with {'entry': entry, 'withPreview': true} only %}
14 <div class="card-content">
15 <i class="grey-text text-darken-4 activator material-icons right">more_vert</i>
16
17 <span class="card-title dot-ellipsis dot-resize-update">
18 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | striptags | e('html_attr') }}">
19 {{ entry.title | striptags | truncate(80, true, '…') | raw }}
20 </a>
21 </span>
22
23 <div class="original grey-text">
24 <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text">
25 <span>{{ entry.domainName|removeWww }}</span>
26 </a>
27 </div>
28 </div>
29 </div> 14 </div>
30 15
31 <div class="card-reveal"> 16 <div class="card-reveal">