diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2017-12-26 16:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-26 16:00:58 +0100 |
commit | 3473e600b1d0ae0695b8c15342a6a1f76e2bc973 (patch) | |
tree | cb75c9e3ac7bccdffcad97c2aa637a6717bf25e4 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig | |
parent | 11ed735c09391f244dfa45b93cdbfded11196866 (diff) | |
parent | c04bde29a36e4a60c596808d0ac45dc23476db44 (diff) | |
download | wallabag-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_full_image.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig index a4958b58..ceb95381 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig | |||
@@ -10,20 +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} only %} | |
14 | <div class="card-content"> | ||
15 | <span class="card-title dot-ellipsis dot-resize-update"> | ||
16 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}"> | ||
17 | {{ entry.title | striptags | truncate(80, true, '…') | raw }} | ||
18 | </a> | ||
19 | </span> | ||
20 | |||
21 | <div class="original grey-text"> | ||
22 | <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text"> | ||
23 | <span>{{ entry.domainName|removeWww }}</span> | ||
24 | </a> | ||
25 | </div> | ||
26 | </div> | ||
27 | </div> | 14 | </div> |
28 | 15 | ||
29 | {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} | 16 | {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} |