aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
diff options
context:
space:
mode:
authorMaxime <maxime.m62@gmail.com>2017-04-15 21:18:24 +0200
committerMaxime <maxime.m62@gmail.com>2017-04-15 21:18:24 +0200
commitd35bf13a677b194371b486231670e23ddafef534 (patch)
tree4f563970548aa769905446cfd67883c6302fc5b6 /src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
parentee857bed698881ab560517cf12d7b9e0f7d99dc4 (diff)
downloadwallabag-qrcode-for-wallabagiosapp.tar.gz
wallabag-qrcode-for-wallabagiosapp.tar.zst
wallabag-qrcode-for-wallabagiosapp.zip
Remove iphone to be more genericqrcode-for-wallabagiosapp
And rename scheme wallabagv2 -> wallabag-token
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig4
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>