diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-16 22:22:25 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-16 22:22:25 +0200 |
commit | ebe0787e093f4f2934430033015d6ebad1c64dca (patch) | |
tree | 0e28c1da4fdb1ee48ae021a4e63d9a8ee1ec302d /src/Wallabag/ImportBundle/Resources | |
parent | 4fc998245c56ad95c1e753ab52b0c702d4a8a59d (diff) | |
download | wallabag-ebe0787e093f4f2934430033015d6ebad1c64dca.tar.gz wallabag-ebe0787e093f4f2934430033015d6ebad1c64dca.tar.zst wallabag-ebe0787e093f4f2934430033015d6ebad1c64dca.zip |
Moved Pocket token to user config
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig index aa5941b7..6195fa07 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig | |||
@@ -12,11 +12,7 @@ | |||
12 | <div class="card-panel red white-text"> | 12 | <div class="card-panel red white-text"> |
13 | {{ 'import.pocket.config_missing.description'|trans }} | 13 | {{ 'import.pocket.config_missing.description'|trans }} |
14 | 14 | ||
15 | {% if is_granted('ROLE_SUPER_ADMIN') %} | 15 | {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('config') ~ '">', '%keyurle%':'</a>'})|raw }} |
16 | {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('craue_config_settings_modify') ~ '#set-import">', '%keyurle%':'</a>'})|raw }} | ||
17 | {% else %} | ||
18 | {{ 'import.pocket.config_missing.user_message'|trans }} | ||
19 | {% endif %} | ||
20 | </div> | 16 | </div> |
21 | {% endif %} | 17 | {% endif %} |
22 | 18 | ||
@@ -31,7 +27,7 @@ | |||
31 | {{ form_label(form.mark_as_read) }} | 27 | {{ form_label(form.mark_as_read) }} |
32 | </div> | 28 | </div> |
33 | </div> | 29 | </div> |
34 | <button class="btn waves-effect waves-light" type="submit" name="action"> | 30 | <button class="btn waves-effect waves-light" type="submit" name="action" {% if not has_consumer_key %}disabled="disabled"{% endif %}> |
35 | {{ 'import.pocket.connect_to_pocket'|trans }} | 31 | {{ 'import.pocket.connect_to_pocket'|trans }} |
36 | </button> | 32 | </button> |
37 | </form> | 33 | </form> |