aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-31 17:20:27 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-31 17:20:27 +0100
commit68e0efffb8785db84e4c26edeaea3a5bd6622d95 (patch)
tree0f3800153170187272ce47307edb7a65514e3399
parent3b81212674bb4b2cf51ce51637e0093c952cefde (diff)
downloadwallabag-68e0efffb8785db84e4c26edeaea3a5bd6622d95.tar.gz
wallabag-68e0efffb8785db84e4c26edeaea3a5bd6622d95.tar.zst
wallabag-68e0efffb8785db84e4c26edeaea3a5bd6622d95.zip
Fixed review
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig14
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
index dde9411f..ec3b23c8 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
@@ -56,13 +56,13 @@
56 </div> 56 </div>
57 57
58 <div class="row"> 58 <div class="row">
59 <h3>{{ 'config.form_settings.android_configuration'|trans }}</h3> 59 <h3>{{ 'config.form_settings.android_configuration'|trans }}</h3>
60 <a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a> 60 <a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a>
61 <img id="androidQrcode" /> 61 <img id="androidQrcode" />
62 <script> 62 <script>
63 const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}'); 63 const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
64 document.getElementById('androidQrcode').src=imgBase64; 64 document.getElementById('androidQrcode').src = imgBase64;
65 </script> 65 </script>
66 </div> 66 </div>
67 </fieldset> 67 </fieldset>
68 68
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
index 807c9bdc..f69d158f 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
@@ -79,7 +79,7 @@
79 </div> 79 </div>
80 <script> 80 <script>
81 const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}'); 81 const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
82 document.getElementById('androidQrcode').src=imgBase64; 82 document.getElementById('androidQrcode').src = imgBase64;
83 </script> 83 </script>
84 </div> 84 </div>
85 85