aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-17 09:20:41 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-17 09:20:41 +0200
commitc37381b946e51fa1783a8b3c1dd3f1f535b8c393 (patch)
treeebb517a55b3f5f30cc3fc5d2c83c8c48b717fd6e
parent80127e4fb1ce02825e9b2b985882b348e6f25ac2 (diff)
parent9cc6bd87fe5f6a3425ec1350d2a5bdc901bff6b7 (diff)
downloadwallabag-c37381b946e51fa1783a8b3c1dd3f1f535b8c393.tar.gz
wallabag-c37381b946e51fa1783a8b3c1dd3f1f535b8c393.tar.zst
wallabag-c37381b946e51fa1783a8b3c1dd3f1f535b8c393.zip
Merge pull request #1349 from wallabag/v2-add-original-link
add link to original article in material theme
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig
index 4b0e1a7b..561d0183 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig
@@ -40,6 +40,14 @@
40 <div class="collapsible-body"></div> 40 <div class="collapsible-body"></div>
41 </li> 41 </li>
42 42
43 <li class="bold border-bottom hide-on-med-and-down">
44 <a class="waves-effect collapsible-header" href="{{ entry.url|e }}">
45 <i class="mdi-content-link small"></i>
46 <span>{% trans %}original article{% endtrans %}</span>
47 </a>
48 <div class="collapsible-body"></div>
49 </li>
50
43 <li class="bold hide-on-med-and-down"> 51 <li class="bold hide-on-med-and-down">
44 <a class="waves-effect collapsible-header" title="{% trans %}Mark as read{% endtrans %}" href="{{ path('archive_entry', { 'id': entry.id }) }}" id="markAsRead"> 52 <a class="waves-effect collapsible-header" title="{% trans %}Mark as read{% endtrans %}" href="{{ path('archive_entry', { 'id': entry.id }) }}" id="markAsRead">
45 <i class="{% if entry.isArchived == 0 %}mdi-action-done{% else %}mdi-content-redo{% endif %} small"></i> 53 <i class="{% if entry.isArchived == 0 %}mdi-action-done{% else %}mdi-content-redo{% endif %} small"></i>