From c3d5b06313ce588c568420205f1a2a8f84d00dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 20 Mar 2021 16:14:48 +0100 Subject: [PATCH] Add multi-step instructions for iOS installation Fixes #53. --- snikket_web/templates/invite_view.html | 42 +++++++++++++++++++++++++- snikket_web/translations/messages.pot | 26 +++++++++++++++- 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/snikket_web/templates/invite_view.html b/snikket_web/templates/invite_view.html index 9c7798a..8f44d65 100644 --- a/snikket_web/templates/invite_view.html +++ b/snikket_web/templates/invite_view.html @@ -27,7 +27,7 @@ {%- call standard_button("qrcode", "#qr-modal", class="primary", onclick="open_modal(this); return false;") -%} @@ -84,10 +84,50 @@ {%- endcall -%} +{%- if apple_store_url -%} + +{%- endif -%} {% endblock %} diff --git a/snikket_web/translations/messages.pot b/snikket_web/translations/messages.pot index efa8aa1..5492233 100644 --- a/snikket_web/translations/messages.pot +++ b/snikket_web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-03-20 12:56+0100\n" +"POT-Creation-Date: 2021-03-20 16:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -796,6 +796,7 @@ msgstr "" #: snikket_web/templates/invite_register.html:16 #: snikket_web/templates/invite_reset_view.html:21 #: snikket_web/templates/invite_view.html:40 +#: snikket_web/templates/invite_view.html:105 msgid "Open the app" msgstr "" @@ -974,6 +975,7 @@ msgid "Get it on Google Play" msgstr "" #: snikket_web/templates/invite_view.html:30 +#: snikket_web/templates/invite_view.html:101 msgid "Download on the App Store" msgstr "" @@ -1001,6 +1003,8 @@ msgstr "" #: snikket_web/templates/invite_view.html:54 #: snikket_web/templates/invite_view.html:83 +#: snikket_web/templates/invite_view.html:95 +#: snikket_web/templates/invite_view.html:111 msgid "Close" msgstr "" @@ -1031,6 +1035,26 @@ msgid "" "'Scan' button at the top." msgstr "" +#: snikket_web/templates/invite_view.html:92 +msgid "Install on iOS" +msgstr "" + +#: snikket_web/templates/invite_view.html:98 +msgid "" +"After downloading Snikket from the app store, you have to return to this " +"invite link and tap on \"Open the app\" to proceed." +msgstr "" + +#: snikket_web/templates/invite_view.html:100 +msgid "First download Snikket from the app store using the button below:" +msgstr "" + +#: snikket_web/templates/invite_view.html:102 +msgid "" +"After the installation is complete, you can return to this page and tap " +"the \"Open the app\" button to continue with the setup:" +msgstr "" + #: snikket_web/templates/library.j2:18 msgid "Copy link" msgstr ""