From bba2465f89d1b5fe28e60d56450ca70f1dcbd7b5 Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Sun, 14 Aug 2016 00:35:41 -0700 Subject: [PATCH] Change links to /api to be relative or with {{ realm_uri }}. --- static/js/tutorial.js | 4 ++-- static/templates/settings_tab.handlebars | 2 +- templates/zerver/emails/followup/day1.html | 2 +- templates/zerver/emails/followup/day1.text | 2 +- templates/zerver/features.html | 4 ++-- templates/zerver/navbar.html | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/static/js/tutorial.js b/static/js/tutorial.js index 61be24764b..f38cebd4e2 100644 --- a/static/js/tutorial.js +++ b/static/js/tutorial.js @@ -359,7 +359,7 @@ function finale(skip) { if (page_params.prompt_for_invites) { alert_contents = "It's lonely in here! Invite some users."; } else { - alert_contents = "What's better than " + page_params.product_name + " in your browser? The "+ page_params.product_name + " desktop app!"; + alert_contents = "What's better than " + page_params.product_name + " in your browser? The "+ page_params.product_name + " desktop app!"; } show_app_alert(alert_contents); @@ -384,7 +384,7 @@ function finale(skip) { if (stream_data.in_home_view(page_params.notifications_stream)) { send_delayed_stream_message(page_params.notifications_stream, "welcome", "Practice sending sending some messages here, or starting a new topic.", 15); send_delayed_stream_message(page_params.notifications_stream, page_params.product_name + " tips", "Here's a message on a new topic: `" + page_params.product_name + " tips`.\n\nAs you settle into " + page_params.product_name + ", customize your account and notifications on your [Settings page](#settings).", 30); - send_delayed_stream_message(page_params.notifications_stream, page_params.product_name + " tips", "You might also enjoy:\n\n* Our lightweight !modal_link(#markdown-help, message formatting) (including emoji! :thumbsup:)\n* !modal_link(#keyboard-shortcuts, Keyboard shortcuts)\n* [Desktop and mobile apps](" + page_params.server_uri + "/apps)", 40); + send_delayed_stream_message(page_params.notifications_stream, page_params.product_name + " tips", "You might also enjoy:\n\n* Our lightweight !modal_link(#markdown-help, message formatting) (including emoji! :thumbsup:)\n* !modal_link(#keyboard-shortcuts, Keyboard shortcuts)\n* [Desktop and mobile apps](/apps)", 40); } if (work_stream !== undefined) { diff --git a/static/templates/settings_tab.handlebars b/static/templates/settings_tab.handlebars index db49bd0d5a..b5efb2a76d 100644 --- a/static/templates/settings_tab.handlebars +++ b/static/templates/settings_tab.handlebars @@ -309,7 +309,7 @@
{{#tr this}}

Looking for our Integrations - or API documentation?

+ or API documentation?

{{/tr}}
    diff --git a/templates/zerver/emails/followup/day1.html b/templates/zerver/emails/followup/day1.html index 35a19d0a0f..d1d9fa799a 100644 --- a/templates/zerver/emails/followup/day1.html +++ b/templates/zerver/emails/followup/day1.html @@ -20,7 +20,7 @@

    {{ server_uri }}/hello has a nice overview of what we're up to, but here are a few tips that'll help you get the most out of it:

      -
    1. Zulip works best when it's always open, so grab our apps! (Mac, Windows, Linux, Android, iOS)
    2. +
    3. Zulip works best when it's always open, so grab our apps! (Mac, Windows, Linux, Android, iOS)
    4. Want to share files in Zulip? No problem! Start a new message and click the paperclip, or just drag-and-drop the file into the textbox.
    5. diff --git a/templates/zerver/emails/followup/day1.text b/templates/zerver/emails/followup/day1.text index 1f6715fb14..90aad1bbc5 100644 --- a/templates/zerver/emails/followup/day1.text +++ b/templates/zerver/emails/followup/day1.text @@ -5,7 +5,7 @@ Welcome to Zulip. {{ server_uri }}/hello has a nice overview of what we're up to, but here are a couple tips that'll help you get the most out of it: 1. Zulip works best when it's always open, so grab our apps! (Mac, Windows, Linux, Android, iOS) - {{ server_uri }}/apps + {{ realm_uri }}/apps 2. Want to share files in Zulip? No problem! Start a new message and click the paperclip, or just drag-and-drop the file into the textbox. diff --git a/templates/zerver/features.html b/templates/zerver/features.html index e7df7a0cb1..4c9ddd93b0 100644 --- a/templates/zerver/features.html +++ b/templates/zerver/features.html @@ -138,13 +138,13 @@

      {% trans %}Mobile apps{% endtrans %}

      -

      {% trans %}Check Zulip on the go with native iOS and +

      {% trans %}Check Zulip on the go with native iOS and Android apps{% endtrans %}.

      {% trans %}Desktop apps{% endtrans %}

      {% trans %}Prefer Zulip in its own window and rich, OS-level notifications? - Enjoy Zulip on your desktop{% endtrans %}.

      + Enjoy Zulip on your desktop{% endtrans %}.

      {% endblock %} diff --git a/templates/zerver/navbar.html b/templates/zerver/navbar.html index b57cb796a5..9d3b320eb4 100644 --- a/templates/zerver/navbar.html +++ b/templates/zerver/navbar.html @@ -71,7 +71,7 @@
    6. - + {{ _('Desktop & mobile apps') }}
    7. @@ -81,7 +81,7 @@
    8. - + {{ _('API documentation') }}