diff options
author | Maxime <maxime.m62@gmail.com> | 2017-04-15 21:18:24 +0200 |
---|---|---|
committer | Maxime <maxime.m62@gmail.com> | 2017-04-15 21:18:24 +0200 |
commit | d35bf13a677b194371b486231670e23ddafef534 (patch) | |
tree | 4f563970548aa769905446cfd67883c6302fc5b6 /src/Wallabag/CoreBundle/Resources/views | |
parent | ee857bed698881ab560517cf12d7b9e0f7d99dc4 (diff) | |
download | wallabag-d35bf13a677b194371b486231670e23ddafef534.tar.gz wallabag-d35bf13a677b194371b486231670e23ddafef534.tar.zst wallabag-d35bf13a677b194371b486231670e23ddafef534.zip |
Remove iphone to be more genericqrcode-for-wallabagiosapp
And rename scheme wallabagv2 -> wallabag-token
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig index 99f8ed29..08ba5b4c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig | |||
@@ -52,10 +52,10 @@ | |||
52 | {{ 'developer.remove.warn_message_1'|trans({'%name%': client.name }) }}<br/> | 52 | {{ 'developer.remove.warn_message_1'|trans({'%name%': client.name }) }}<br/> |
53 | {{ 'developer.remove.warn_message_2'|trans({'%name%': client.name }) }}<br/> | 53 | {{ 'developer.remove.warn_message_2'|trans({'%name%': client.name }) }}<br/> |
54 | <a class="waves-effect waves-light red btn" href="{{ path('developer_delete_client', {'id': client.id}) }}">{{ 'developer.remove.action'|trans({'%name%': client.name }) }}</a> | 54 | <a class="waves-effect waves-light red btn" href="{{ path('developer_delete_client', {'id': client.id}) }}">{{ 'developer.remove.action'|trans({'%name%': client.name }) }}</a> |
55 | <a class="waves-effect waves-light btn" href="">{{ 'developer.existing_clients.show_qrcode_iphone'|trans }}</a> | 55 | <a class="waves-effect waves-light btn" href="">{{ 'developer.existing_clients.show_qrcode'|trans }}</a> |
56 | <img id="iphoneQrcode{{ client.id }}" /> | 56 | <img id="iphoneQrcode{{ client.id }}" /> |
57 | <script> | 57 | <script> |
58 | const imgBase64 = jrQrcode.getQrBase64('wallabagv2://{{ app.user.username }}%%{{ wallabag_url }}%%{{ client.id }}_{{ client.randomId }}%%{{ client.secret }}'); | 58 | const imgBase64 = jrQrcode.getQrBase64('wallabag-token://{{ app.user.username }}%%{{ wallabag_url }}%%{{ client.id }}_{{ client.randomId }}%%{{ client.secret }}'); |
59 | document.getElementById('iphoneQrcode{{ client.id }}').src = imgBase64; | 59 | document.getElementById('iphoneQrcode{{ client.id }}').src = imgBase64; |
60 | </script> | 60 | </script> |
61 | </p> | 61 | </p> |