diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-23 16:49:12 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-23 16:49:21 +0200 |
commit | f1be7af446052c6fed7033664c6c6350f558961b (patch) | |
tree | 41889e7ace01b1f1df05ffb412bac0427d9975a2 /src/Wallabag/CoreBundle/Resources/views/themes | |
parent | 3377c938f8e5bd6af2cd4430494f39a517a7e910 (diff) | |
download | wallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.gz wallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.zst wallabag-f1be7af446052c6fed7033664c6c6350f558961b.zip |
Change share entry behavior
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 7 |
1 files changed, 6 insertions, 1 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 585e4dd5..05bb378d 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 | |||
@@ -101,10 +101,15 @@ | |||
101 | <ul> | 101 | <ul> |
102 | {% if craue_setting('share_public') %} | 102 | {% if craue_setting('share_public') %} |
103 | <li> | 103 | <li> |
104 | <a href="{{ path('share', {'uuid': entry.uuid }) }}" target="_blank" class="tool public" title="{{ 'entry.view.left_menu.public_link'|trans }}"> | 104 | <a href="{{ path('share', {'id': entry.id }) }}" target="_blank" class="tool public" title="{{ 'entry.view.left_menu.public_link'|trans }}"> |
105 | <span>{{ 'entry.view.left_menu.public_link'|trans }}</span> | 105 | <span>{{ 'entry.view.left_menu.public_link'|trans }}</span> |
106 | </a> | 106 | </a> |
107 | </li> | 107 | </li> |
108 | <li> | ||
109 | <a href="{{ path('delete_share', {'id': entry.id }) }}" class="tool public" title="{{ 'entry.view.left_menu.delete_public_link'|trans }}"> | ||
110 | <span>{{ 'entry.view.left_menu.delete_public_link'|trans }}</span> | ||
111 | </a> | ||
112 | </li> | ||
108 | {% endif %} | 113 | {% endif %} |
109 | {% if craue_setting('share_twitter') %} | 114 | {% if craue_setting('share_twitter') %} |
110 | <li> | 115 | <li> |