forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change relative paths to absolute paths when we don't want the subdom…
…ain. Changes relative path to an absolute path (that doesn't contain the subdomain) for various links to /create_realm, /api, /apps, /integrations, /hello, /terms, and the logged out / (the Zulip in the upper left corner of portico) I typically left links internal to the relevant pages (e.g. a link from integrations.html to a subpage of integrations/) as relative links, and changed external links from within the app to the absolute path (e.g. the link to integrations from the gear menu).
- Loading branch information
Showing
7 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,9 @@ | |
<div class="column-left"> | ||
<div> | ||
{% if custom_logo_url %} | ||
<a class="brand logo" href="/"><img src="{{ custom_logo_url }}" class="portico-logo" alt="Zulip" content="Zulip" /></a> | ||
<a class="brand logo" href="{{ external_uri_scheme }}{{ external_host }}/"><img src="{{ custom_logo_url }}" class="portico-logo" alt="Zulip" content="Zulip" /></a> | ||
{% else %} | ||
<a class="brand logo" href="/"><img src="/static/images/logo/[email protected]" class="portico-simple-logo" alt="Zulip" content="Zulip" /></a> | ||
<a class="brand logo" href="{{ external_uri_scheme }}{{ external_host }}/"><img src="/static/images/logo/[email protected]" class="portico-simple-logo" alt="Zulip" content="Zulip" /></a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
|
@@ -52,10 +52,10 @@ | |
<div class="footer"> | ||
<div class="footer-main"> | ||
<ul class="footer-navigation"> | ||
<li><a href="/hello">{{ _('About') }}</a></li> | ||
<li><a href="{{ external_uri_scheme }}{{ external_host }}/hello">{{ _('About') }}</a></li> | ||
{% if terms_of_service %} | ||
<li><span class="little-bullet">·</span></li> | ||
<li><a href="/terms">{{ _('Legal') }}</a></li> | ||
<li><a href="{{ external_uri_scheme }}{{ external_host }}/terms">{{ _('Legal') }}</a></li> | ||
{% endif %} | ||
<li><span class="little-bullet">·</span></li> | ||
<li><a href="{{login_url}}">{{ _('Log in') }}</a></li> | ||
|
@@ -70,7 +70,7 @@ | |
</li> | ||
<li> | ||
{% if open_realm_creation %} | ||
<a href="/create_realm">{{ _('Create new organization') }}</a> | ||
<a href="{{ external_uri_scheme }}{{ external_host }}/create_realm">{{ _('Create new organization') }}</a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters