diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-06-23 09:25:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 09:25:01 +0200 |
commit | 49e2854d5c15bbce3f24f91da34450e8f209295b (patch) | |
tree | f5aa95445549cc151e86f144b40464eecee28cf7 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | |
parent | 4eaaa27bb5b9a5725b26471a39548d764fc9cd0a (diff) | |
parent | 496cfdc0172fd55cb555f74b64704c8f50c71b77 (diff) | |
download | wallabag-49e2854d5c15bbce3f24f91da34450e8f209295b.tar.gz wallabag-49e2854d5c15bbce3f24f91da34450e8f209295b.tar.zst wallabag-49e2854d5c15bbce3f24f91da34450e8f209295b.zip |
Merge pull request #2142 from wallabag/v2-use-npm
Manage assets through npm
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index 778625ae..8636e3be 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | |||
@@ -34,7 +34,27 @@ | |||
34 | </div> | 34 | </div> |
35 | {% endfor %} | 35 | {% endfor %} |
36 | 36 | ||
37 | <aside id="filter-form" class=""> | 37 | |
38 | <!-- Export --> | ||
39 | <aside id="download-form"> | ||
40 | {% set currentRoute = app.request.attributes.get('_route') %} | ||
41 | {% if currentRoute == 'homepage' %} | ||
42 | {% set currentRoute = 'unread' %} | ||
43 | {% endif %} | ||
44 | <h2>{{ 'entry.list.export_title'|trans }}</h2> | ||
45 | <a href="javascript: void(null);" id="download-form-close" class="close-button--popup close-button">×</a> | ||
46 | <ul> | ||
47 | {% if craue_setting('export_epub') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'epub' }) }}">EPUB</a></li>{% endif %} | ||
48 | {% if craue_setting('export_mobi') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'mobi' }) }}">MOBI</a></li>{% endif %} | ||
49 | {% if craue_setting('export_pdf') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'pdf' }) }}">PDF</a></li>{% endif %} | ||
50 | {% if craue_setting('export_csv') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'json' }) }}">JSON</a></li>{% endif %} | ||
51 | {% if craue_setting('export_json') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'csv' }) }}">CSV</a></li>{% endif %} | ||
52 | {% if craue_setting('export_txt') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'txt' }) }}">TXT</a></li>{% endif %} | ||
53 | {% if craue_setting('export_xml') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'xml' }) }}">XML</a></li>{% endif %} | ||
54 | </ul> | ||
55 | </aside> | ||
56 | <!-- Filter --> | ||
57 | <aside id="filter-form"> | ||
38 | <form method="get" action="{{ path('all') }}"> | 58 | <form method="get" action="{{ path('all') }}"> |
39 | <h2>{{ 'entry.filters.title'|trans }}</h2> | 59 | <h2>{{ 'entry.filters.title'|trans }}</h2> |
40 | <a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">×</a> | 60 | <a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">×</a> |