plans: Fix same page hashtag link.

Fixes /plans fragment links redirecting users to different page.
This commit is contained in:
Aman Agrawal 2023-12-16 07:49:40 +00:00 committed by Tim Abbott
parent d85462a459
commit 6b1f71872b
2 changed files with 7 additions and 5 deletions

View File

@ -262,7 +262,9 @@ def team_view(request: HttpRequest) -> HttpResponse:
@add_google_analytics @add_google_analytics
def landing_view(request: HttpRequest, template_name: str) -> HttpResponse: def landing_view(request: HttpRequest, template_name: str) -> HttpResponse:
return TemplateResponse(request, template_name, latest_info_context()) context = latest_info_context()
context["billing_base_url"] = ""
return TemplateResponse(request, template_name, context)
@add_google_analytics @add_google_analytics

View File

@ -169,7 +169,7 @@
<li><span>Unlimited <a href="/help/start-a-call">voice and video calls</a></span></li> <li><span>Unlimited <a href="/help/start-a-call">voice and video calls</a></span></li>
<li><span>Unlimited <a href="/integrations/">integrations</a></span></li> <li><span>Unlimited <a href="/integrations/">integrations</a></span></li>
<li><span>Easy <a href="https://zulip.readthedocs.io/en/stable/production/install.html">installation</a> and <a href="https://zulip.readthedocs.io/en/stable/production/upgrade.html">maintenance</a></span></li> <li><span>Easy <a href="https://zulip.readthedocs.io/en/stable/production/install.html">installation</a> and <a href="https://zulip.readthedocs.io/en/stable/production/upgrade.html">maintenance</a></span></li>
<li class="comparison-table-pointer"><span>And <a href="/plans/#self-hosted-plan-comparison">much more</a>!</span></li> <li class="comparison-table-pointer"><span>And <a href="{{ billing_base_url }}/plans/#self-hosted-plan-comparison">much more</a>!</span></li>
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">
@ -203,7 +203,7 @@
<li><span><a href="/help/public-access-option">Public access option</a></span></li> <li><span><a href="/help/public-access-option">Public access option</a></span></li>
<li><span><a href="/help/moderating-open-organizations">Advanced moderation tools</a></span></li> <li><span><a href="/help/moderating-open-organizations">Advanced moderation tools</a></span></li>
<li><span><a href="/help/format-your-message-using-markdown">Expressive formatting</a> (code, LaTeX)</span></li> <li><span><a href="/help/format-your-message-using-markdown">Expressive formatting</a> (code, LaTeX)</span></li>
<li class="comparison-table-pointer"><span>And <a href="/plans/#self-hosted-plan-comparison">much more</a>!</span></li> <li class="comparison-table-pointer"><span>And <a href="{{ billing_base_url }}/plans/#self-hosted-plan-comparison">much more</a>!</span></li>
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">
@ -244,7 +244,7 @@
<li><span><a href="/help/guest-users">Guests</a> with configurable access</span></li> <li><span><a href="/help/guest-users">Guests</a> with configurable access</span></li>
<li><span><a href="/help/export-your-organization">Full</a> and <a href="https://zulip.readthedocs.io/en/stable/production/export-and-import.html#compliance-exports">compliance</a> data exports</span></li> <li><span><a href="/help/export-your-organization">Full</a> and <a href="https://zulip.readthedocs.io/en/stable/production/export-and-import.html#compliance-exports">compliance</a> data exports</span></li>
<li><span><a href="/help/message-retention-policy">Data retention policies</a></span></li> <li><span><a href="/help/message-retention-policy">Data retention policies</a></span></li>
<li class="comparison-table-pointer"><span>And <a href="/plans/#self-hosted-plan-comparison">much more</a>!</span></li> <li class="comparison-table-pointer"><span>And <a href="{{ billing_base_url }}/plans/#self-hosted-plan-comparison">much more</a>!</span></li>
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">
@ -312,7 +312,7 @@
<li><span>Implementation consulting</span></li> <li><span>Implementation consulting</span></li>
<li><span>Custom feature development</span></li> <li><span>Custom feature development</span></li>
<li><span>Advanced deployment options</span></li> <li><span>Advanced deployment options</span></li>
<li class="comparison-table-pointer"><span>And <a href="/plans/#self-hosted-plan-comparison">much more!</a></span></li> <li class="comparison-table-pointer"><span>And <a href="{{ billing_base_url }}/plans/#self-hosted-plan-comparison">much more!</a></span></li>
</ul> </ul>
</div> </div>
<div class="bottom"> <div class="bottom">