tour: Remove conditionals around CTA button.

We really just want a consistent button for this use case.
This commit is contained in:
Tim Abbott 2018-05-31 12:53:10 -07:00
parent b7af4c2162
commit 656804bdb7
1 changed files with 5 additions and 11 deletions

View File

@ -720,18 +720,12 @@
<div class="item"> <div class="item">
<div class="item-inner"> <div class="item-inner">
<p class="tour-item-header tour-item-header-top-push tour-item-header-centered">Zulip Free is free for an unlimited number of users.</p> <p class="tour-item-header tour-item-header-top-push tour-item-header-centered">Zulip Free is free for an unlimited number of users.</p>
{% if register_link_disabled %} <a href="/plans">
{% elif only_sso %} <button href="" type="button" name="button"
<a href="{{ url('login-sso') }}"> class="call-to-action">
<button href="" type="button" {{ _('See plans and pricing') }}
name="button" class="call-to-action">{{ _('Log in now') }}</button> </button>
</a> </a>
{% else %}
<a href="{{ url('register') }}">
<button href="" type="button"
name="button" class="call-to-action">{{ _('Try it free') }}</button>
</a>
{% endif %}
<div class="other-resources"> <div class="other-resources">
<h3>Other resources:</h3> <h3>Other resources:</h3>
<ul> <ul>