web: Save a needless 301 redirect from /apps to /apps/.

This commit is contained in:
Alex Vandiver 2023-03-23 02:59:33 +00:00 committed by Tim Abbott
parent 61adc9cfcc
commit d9daeb13e0
18 changed files with 19 additions and 19 deletions

View File

@ -1626,7 +1626,7 @@ details.
- Added 'e' keyboard shortcut for editing currently selected message. - Added 'e' keyboard shortcut for editing currently selected message.
- Added support for unstarring all starred messages. - Added support for unstarring all starred messages.
- Added support for using `|` as an OR operator in sidebar search features. - Added support for using `|` as an OR operator in sidebar search features.
- Added direct download links for Android APKs to our /apps page. - Added direct download links for Android APKs to our /apps/ page.
- Added a responsive design for our /integrations/ pages. - Added a responsive design for our /integrations/ pages.
- Added typeahead for slash commands. - Added typeahead for slash commands.
- Added more expansive moderation settings for who can create streams, - Added more expansive moderation settings for who can create streams,

View File

@ -3,7 +3,7 @@
If this is your first time using Zulip, we recommend starting with the web If this is your first time using Zulip, we recommend starting with the web
or desktop experience to set up your account and get oriented. or desktop experience to set up your account and get oriented.
- Get the [mobile and desktop apps](/apps). Zulip also works great in a - Get the [mobile and desktop apps](/apps/). Zulip also works great in a
[browser](/help/supported-browsers). [browser](/help/supported-browsers).
- [Add a profile picture](/help/change-your-profile-picture) and - [Add a profile picture](/help/change-your-profile-picture) and

View File

@ -46,7 +46,7 @@ link via another method.
## Tips ## Tips
* If you are joining multiple Zulip organizations, we recommend * If you are joining multiple Zulip organizations, we recommend
using the [Zulip Desktop app](../apps). The desktop app makes it easy to using the [Zulip Desktop app](../apps/). The desktop app makes it easy to
[switch between different organizations](/help/switching-between-organizations). [switch between different organizations](/help/switching-between-organizations).
* If your company uses single sign-on (SSO) authentication for Zulip, * If your company uses single sign-on (SSO) authentication for Zulip,

View File

@ -124,11 +124,11 @@
snap with our simple RESTful API and Python bindings. snap with our simple RESTful API and Python bindings.
</p> </p>
</a> </a>
<a class="feature-block" href="/apps" target="_blank" rel="noopener noreferrer"> <a class="feature-block" href="/apps/" target="_blank" rel="noopener noreferrer">
<h3>MOBILE APPS</h3> <h3>MOBILE APPS</h3>
<p>Keep up while on the go with Zulip's iOS and Android apps.</p> <p>Keep up while on the go with Zulip's iOS and Android apps.</p>
</a> </a>
<a class="feature-block" href="/apps" target="_blank" rel="noopener noreferrer"> <a class="feature-block" href="/apps/" target="_blank" rel="noopener noreferrer">
<h3>DESKTOP APPS</h3> <h3>DESKTOP APPS</h3>
<p>Even better than Zulip on the web, our desktop apps offer native <p>Even better than Zulip on the web, our desktop apps offer native
notifications and support for multiple Zulip accounts.</p> notifications and support for multiple Zulip accounts.</p>

View File

@ -491,7 +491,7 @@
<ul> <ul>
<li> <li>
<div class="list-content"> <div class="list-content">
With <a href="/apps">apps for every With <a href="/apps/">apps for every
platform</a>, you can check Zulip at your computer or on your platform</a>, you can check Zulip at your computer or on your
phone. Zulip works great in a browser, so no download is phone. Zulip works great in a browser, so no download is
required. required.

View File

@ -214,7 +214,7 @@
<ul> <ul>
<li> <li>
<div class="list-content"> <div class="list-content">
With <a href="/apps">apps for every platform</a>, you can check Zulip at your computer or on your phone. With <a href="/apps/">apps for every platform</a>, you can check Zulip at your computer or on your phone.
</div> </div>
</li> </li>
<li> <li>

View File

@ -253,7 +253,7 @@
<ul> <ul>
<li> <li>
<div class="list-content"> <div class="list-content">
With <a href="/apps">apps for every With <a href="/apps/">apps for every
platform</a>, check Zulip at your computer or on your platform</a>, check Zulip at your computer or on your
phone. Zulip works great in a browser, so no download is phone. Zulip works great in a browser, so no download is
required. required.

View File

@ -580,7 +580,7 @@
<ul> <ul>
<li> <li>
<div class="list-content"> <div class="list-content">
With <a href="/apps">apps for every With <a href="/apps/">apps for every
platform</a>, you can check Zulip at your computer or on your platform</a>, you can check Zulip at your computer or on your
phone. Zulip works great in a browser, so no download is phone. Zulip works great in a browser, so no download is
required. required.

View File

@ -328,7 +328,7 @@
<ul> <ul>
<li> <li>
<div class="list-content"> <div class="list-content">
With <a href="/apps">apps for every With <a href="/apps/">apps for every
platform</a>, you can check Zulip at your computer or on your platform</a>, you can check Zulip at your computer or on your
phone. Zulip works great in a browser, so no download is phone. Zulip works great in a browser, so no download is
required. required.

View File

@ -26,7 +26,7 @@
<li><p>Activate your account here: <a href="https://zephyr.zulipchat.com/register/">https://zephyr.zulipchat.com/register/</a></p></li> <li><p>Activate your account here: <a href="https://zephyr.zulipchat.com/register/">https://zephyr.zulipchat.com/register/</a></p></li>
<li><p>Log in to Zulip here: <a href="https://zephyr.zulipchat.com">https://zephyr.zulipchat.com</a></p></li> <li><p>Log in to Zulip here: <a href="https://zephyr.zulipchat.com">https://zephyr.zulipchat.com</a></p></li>
<li><p>Follow the on-screen instructions for linking Zulip with Webathena</p></li> <li><p>Follow the on-screen instructions for linking Zulip with Webathena</p></li>
<li><p>(Optional) Get the Zulip desktop and/or mobile apps here: <a href="https://zephyr.zulipchat.com/apps">https://zephyr.zulipchat.com/apps</a></p></li> <li><p>(Optional) Get the Zulip desktop and/or mobile apps here: <a href="https://zephyr.zulipchat.com/apps/">https://zephyr.zulipchat.com/apps/</a></p></li>
</ol> </ol>
<h2>You're done!</h2> <h2>You're done!</h2>

View File

@ -29,7 +29,7 @@
{% endif %} {% endif %}
<p> <p>
{% trans apps_page_link="https://zulip.com/apps" %}You will use the following info to log into the Zulip web, <a href="{{ apps_page_link }}">mobile and desktop</a> apps:{% endtrans %} {% trans apps_page_link="https://zulip.com/apps/" %}You will use the following info to log into the Zulip web, <a href="{{ apps_page_link }}">mobile and desktop</a> apps:{% endtrans %}
<ul> <ul>
<li>{% trans organization_url=macros.link_tag(realm_uri) %}Organization URL: {{ organization_url }}{% endtrans %}<br /></li> <li>{% trans organization_url=macros.link_tag(realm_uri) %}Organization URL: {{ organization_url }}{% endtrans %}<br /></li>
{% if ldap %} {% if ldap %}

View File

@ -11,7 +11,7 @@
{% endif %} {% endif %}
{% trans apps_page_link="https://zulip.com/apps" %}You will use the following info to log into the Zulip web, mobile and desktop apps ({{ apps_page_link}}):{% endtrans %} {% trans apps_page_link="https://zulip.com/apps/" %}You will use the following info to log into the Zulip web, mobile and desktop apps ({{ apps_page_link}}):{% endtrans %}
* {% trans organization_url=realm_uri %}Organization URL: {{ organization_url }}{% endtrans %} * {% trans organization_url=realm_uri %}Organization URL: {{ organization_url }}{% endtrans %}

View File

@ -30,7 +30,7 @@
{% endif %} {% endif %}
<p> <p>
<a href="https://zulip.com/apps" target="_blank" rel="noopener noreferrer"> <a href="https://zulip.com/apps/" target="_blank" rel="noopener noreferrer">
{{ _("Download the latest release.") }} {{ _("Download the latest release.") }}
</a> </a>
</p> </p>

View File

@ -25,7 +25,7 @@
{% endtrans %} {% endtrans %}
</p> </p>
<p> <p>
{% trans apps_page_link="https://zulip.com/apps" %} {% trans apps_page_link="https://zulip.com/apps/" %}
You can also use the <a href="{{ apps_page_link }}">Zulip desktop app</a>. You can also use the <a href="{{ apps_page_link }}">Zulip desktop app</a>.
{% endtrans %} {% endtrans %}
</p> </p>

View File

@ -68,7 +68,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
"http://localhost:9981/history/", "http://localhost:9981/history/",
"http://localhost:9981/plans/", "http://localhost:9981/plans/",
"http://localhost:9981/team/", "http://localhost:9981/team/",
"http://localhost:9981/apps", "http://localhost:9981/apps/",
"http://localhost:9981/integrations/", "http://localhost:9981/integrations/",
"http://localhost:9981/terms", "http://localhost:9981/terms",
"http://localhost:9981/privacy", "http://localhost:9981/privacy",

View File

@ -1,6 +1,6 @@
<div data-step="1"> <div data-step="1">
{{t "You are using an old version of the Zulip desktop app with known security bugs." }} {{t "You are using an old version of the Zulip desktop app with known security bugs." }}
<a class="alert-link" href="https://zulip.com/apps" target="_blank" rel="noopener noreferrer"> <a class="alert-link" href="https://zulip.com/apps/" target="_blank" rel="noopener noreferrer">
{{t "Download the latest version." }} {{t "Download the latest version." }}
</a> </a>
</div> </div>

View File

@ -118,7 +118,7 @@ def select_welcome_bot_response(human_response_lower: str) -> str:
# message from the user to Welcome Bot, select the appropriate reply. # message from the user to Welcome Bot, select the appropriate reply.
if human_response_lower in ["app", "apps"]: if human_response_lower in ["app", "apps"]:
return _( return _(
"You can [download](/apps) the [mobile and desktop apps](/apps). " "You can [download](/apps/) the [mobile and desktop apps](/apps/). "
"Zulip also works great in a browser." "Zulip also works great in a browser."
) )
elif human_response_lower == "profile": elif human_response_lower == "profile":

View File

@ -48,7 +48,7 @@ class TutorialTests(ZulipTestCase):
for content in messages: for content in messages:
self.send_personal_message(user, bot, content) self.send_personal_message(user, bot, content)
expected_response = ( expected_response = (
"You can [download](/apps) the [mobile and desktop apps](/apps). " "You can [download](/apps/) the [mobile and desktop apps](/apps/). "
"Zulip also works great in a browser." "Zulip also works great in a browser."
) )
self.assertEqual(most_recent_message(user).content, expected_response) self.assertEqual(most_recent_message(user).content, expected_response)