aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Resources
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-04 16:12:45 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-04 16:12:45 +0100
commitd89908aed331779fc79b8e50ddaa51212b6269f5 (patch)
tree8087d461437d315440c825ab28433e62ce799ecc /src/Wallabag/ImportBundle/Resources
parente18138dbca536ebd49c938144f9d051e5276d4ea (diff)
parent79d0e38e7ff975b2e0306d3dd96f57509fd84aef (diff)
downloadwallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.tar.gz
wallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.tar.zst
wallabag-d89908aed331779fc79b8e50ddaa51212b6269f5.zip
Merge pull request #1670 from wallabag/v2-mark-imported-articles-as-read
Mark all imported articles as read
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r--src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig7
-rw-r--r--src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig
index 8aa5da97..3365fc6a 100644
--- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig
+++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig
@@ -19,6 +19,13 @@
19 <blockquote>{{ import.description|trans }}</blockquote> 19 <blockquote>{{ import.description|trans }}</blockquote>
20 <p>{% trans %}You can import your data from your Pocket account. You just have to click on the below button and authorize the application to connect to getpocket.com.{% endtrans %}</p> 20 <p>{% trans %}You can import your data from your Pocket account. You just have to click on the below button and authorize the application to connect to getpocket.com.{% endtrans %}</p>
21 <form method="post" action="{{ path('import_pocket_auth') }}"> 21 <form method="post" action="{{ path('import_pocket_auth') }}">
22 <div class="row">
23 <div class="input-field col s6 with-checkbox">
24 <h6>{% trans %}Mark all as read ?{% endtrans %}</h6>
25 {{ form_widget(form.read) }}
26 <label for="form_read">{% trans %}Mark all imported entries as read{% endtrans %}</label>
27 </div>
28 </div>
22 <button class="btn waves-effect waves-light" type="submit" name="action"> 29 <button class="btn waves-effect waves-light" type="submit" name="action">
23 {% trans %}Connect to Pocket and import data{% endtrans %} 30 {% trans %}Connect to Pocket and import data{% endtrans %}
24 </button> 31 </button>
diff --git a/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig
index 1359f2e4..a418ed1c 100644
--- a/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig
+++ b/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig
@@ -22,6 +22,11 @@
22 <input class="file-path validate" type="text"> 22 <input class="file-path validate" type="text">
23 </div> 23 </div>
24 </div> 24 </div>
25 <div class="input-field col s6 with-checkbox">
26 <h6>{% trans %}Mark all as read ?{% endtrans %}</h6>
27 {{ form_widget(form.mark_as_read) }}
28 <label for="upload_import_file_mark_as_read">{% trans %}Mark all imported entries as read{% endtrans %}</label>
29 </div>
25 </div> 30 </div>
26 <div class="hidden">{{ form_rest(form) }}</div> 31 <div class="hidden">{{ form_rest(form) }}</div>
27 <button class="btn waves-effect waves-light" type="submit" name="action"> 32 <button class="btn waves-effect waves-light" type="submit" name="action">