diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-16 21:05:37 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-16 21:05:37 +0200 |
commit | 9cc6bd87fe5f6a3425ec1350d2a5bdc901bff6b7 (patch) | |
tree | ebb517a55b3f5f30cc3fc5d2c83c8c48b717fd6e | |
parent | 80127e4fb1ce02825e9b2b985882b348e6f25ac2 (diff) | |
download | wallabag-9cc6bd87fe5f6a3425ec1350d2a5bdc901bff6b7.tar.gz wallabag-9cc6bd87fe5f6a3425ec1350d2a5bdc901bff6b7.tar.zst wallabag-9cc6bd87fe5f6a3425ec1350d2a5bdc901bff6b7.zip |
add link to original article in material theme
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 8 |
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> |