mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Adds HTML title elements to templates that extend either `base.html`, `portico.html` or `portico_signup.html`, and that are not website portico landing pages that will use the `PAGE_TITLE` variable to set the HTML title element (see following commit in series). Also, updates some templates for missing translation tags. As a general rule, we want the title element (and page content) translated. Exceptions that are updated in this commit are templates used in the development environment, analytics templates that are used by staff and templates related to Zephyr.
24 lines
998 B
HTML
24 lines
998 B
HTML
{% extends "zerver/portico.html" %}
|
|
{% set entrypoint = "desktop-redirect" %}
|
|
|
|
{% block title %}
|
|
<title>{{ _("Log in to desktop app") }} | Zulip</title>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="flex new-style">
|
|
<div class="desktop-redirect-box white-box">
|
|
<img class="avatar desktop-redirect-image" src="{{ realm_icon_url }}" alt=""/><br />
|
|
<p class="copy-token-info">{% trans %}Copy this login token and return to your Zulip app to finish logging in:{% endtrans %}</p>
|
|
<p>
|
|
<span class="input-box">
|
|
<input id="desktop-data" value="{{ desktop_data }}" type="text" readonly />
|
|
</span>
|
|
<button id="copy" tabindex="0" data-clipboard-target="#desktop-data">{% trans %}Copy{% endtrans %}</button>
|
|
</p>
|
|
<p>{% trans %}You may then close this window.{% endtrans %}</p>
|
|
<p><a href="{{ browser_url }}">{% trans %}Or, continue in your browser.{% endtrans %}</a></p>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|