aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2017-11-05 15:32:32 +0100
committerKevin Decherf <kevin@kdecherf.com>2017-11-19 15:02:11 +0100
commit6de4cd35b5b979c37cf1bca5e5b3dae6a5b0170e (patch)
tree0c440b2e8780258367f6d5ad671b1e8c6f8d4893 /src
parent00f2368f7a99679aba7cd16e3d5cdbb072def562 (diff)
downloadwallabag-6de4cd35b5b979c37cf1bca5e5b3dae6a5b0170e.tar.gz
wallabag-6de4cd35b5b979c37cf1bca5e5b3dae6a5b0170e.tar.zst
wallabag-6de4cd35b5b979c37cf1bca5e5b3dae6a5b0170e.zip
Add support of originUrl field in baggy entry view
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
index f8723189..f7c89abf 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
@@ -71,6 +71,14 @@
71 </i> 71 </i>
72 72
73 <span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span> 73 <span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
74
75 {% if entry.originUrl is not empty %}
76 <i class="material-icons" title="Provided by">launch</i>
77 <a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
78 {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
79 </a>
80 {% endif %}
81
74 <aside class="tags"> 82 <aside class="tags">
75 <div class="card-entry-tags"> 83 <div class="card-entry-tags">
76 {% for tag in entry.tags %} 84 {% for tag in entry.tags %}