diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2017-11-07 13:59:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 13:59:47 +0100 |
commit | f39cfa469094fb9efd5e8007b44c2d62b617f358 (patch) | |
tree | 66d0add0ebd3111bc51f5348adc54c46e164aebd /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig | |
parent | 8abb6c13219c7125f57667c9272db0a5c5d2bcb7 (diff) | |
parent | 2f510787e7a37be1068390b0956257843a2a9ab6 (diff) | |
download | wallabag-f39cfa469094fb9efd5e8007b44c2d62b617f358.tar.gz wallabag-f39cfa469094fb9efd5e8007b44c2d62b617f358.tar.zst wallabag-f39cfa469094fb9efd5e8007b44c2d62b617f358.zip |
Merge pull request #3404 from wallabag/issue-2424
material: replace card activator with article link on card preview
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 | 4 |
1 files changed, 3 insertions, 1 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 58757158..a4958b58 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 | |||
@@ -6,7 +6,9 @@ | |||
6 | <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li> | 6 | <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li> |
7 | {% endfor %} | 7 | {% endfor %} |
8 | </ul> | 8 | </ul> |
9 | <div class="preview activator" style="background-image: url({{ entry.previewPicture }})"></div> | 9 | <a href="{{ path('view', { 'id': entry.id }) }}"> |
10 | <span class="preview" style="background-image: url({{ entry.previewPicture }})"></span> | ||
11 | </a> | ||
10 | </div> | 12 | </div> |
11 | 13 | ||
12 | <div class="card-content"> | 14 | <div class="card-content"> |