diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-10-12 21:41:05 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-19 21:09:33 +0100 |
commit | 0447a75b06142afe59a179bb59ee94f1978aa7a9 (patch) | |
tree | 6fb21a4cef53c62cb7f2d703c0fb6957ce4de3cb /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |
parent | f85d220c19872dd7e9199fd150060555584a2886 (diff) | |
download | wallabag-0447a75b06142afe59a179bb59ee94f1978aa7a9.tar.gz wallabag-0447a75b06142afe59a179bb59ee94f1978aa7a9.tar.zst wallabag-0447a75b06142afe59a179bb59ee94f1978aa7a9.zip |
Use only one method to randomize
Instead of one per type, one for all is ok.
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 5deda0fc..31c4b5cb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -28,7 +28,7 @@ | |||
28 | <div class="nb-results"> | 28 | <div class="nb-results"> |
29 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} | 29 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} |
30 | <a href="{{ path('switch_view_mode') }}"><i class="material-icons">{% if listMode == 0 %}view_list{% else %}view_module{% endif %}</i></a> | 30 | <a href="{{ path('switch_view_mode') }}"><i class="material-icons">{% if listMode == 0 %}view_list{% else %}view_module{% endif %}</i></a> |
31 | <a href="{{ path(currentRoute ~ '_random') }}">random</a> | 31 | <a href="{{ path('random_entry', { 'type': currentRoute }) }}">random</a> |
32 | {% if app.user.config.rssToken %} | 32 | {% if app.user.config.rssToken %} |
33 | {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} | 33 | {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} |
34 | {% endif %} | 34 | {% endif %} |