diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 10:03:53 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 10:03:53 +0200 |
commit | b026d3b11566e705284c0ce95c61ff44a6e714bf (patch) | |
tree | 1c6f2104dcc944714eff86ba92a67ff83aed85b8 /src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig | |
parent | e610143f51d991a63bb70645f2de63fdbc1173fe (diff) | |
download | wallabag-b026d3b11566e705284c0ce95c61ff44a6e714bf.tar.gz wallabag-b026d3b11566e705284c0ce95c61ff44a6e714bf.tar.zst wallabag-b026d3b11566e705284c0ce95c61ff44a6e714bf.zip |
add previewPicture on baggy theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig index 18cfd59d..f58d0399 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig | |||
@@ -31,6 +31,9 @@ | |||
31 | {% for tag in entry.tags %}<span class="mdi-action-label-outline">{{ tag.label }}</span>{% endfor %} | 31 | {% for tag in entry.tags %}<span class="mdi-action-label-outline">{{ tag.label }}</span>{% endfor %} |
32 | {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} | 32 | {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} |
33 | </aside> | 33 | </aside> |
34 | {% if entry.previewPicture is not null %} | ||
35 | <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" /></div> | ||
36 | {% endif %} | ||
34 | <article> | 37 | <article> |
35 | {{ entry.content | raw }} | 38 | {{ entry.content | raw }} |
36 | </article> | 39 | </article> |