Skip to content

Commit

Permalink
landing: Fix navigation to not link to registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed May 16, 2017
1 parent 847f469 commit fb26473
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/zerver/landing_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,24 @@
<li on-page="help">
<a class="no-style" href="/help/">Help Center</a>
</li>
{% if register_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/login/">Login</a>
</li>
{% endif %}
{% if register_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/register/">Register</a>
</li>
{% endif %}
{% if find_team_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/find_my_team/">Find Accounts</a>
</li>
{% endif %}
</ul>
<div class="clear-float"></div>
</div>
Expand Down
12 changes: 12 additions & 0 deletions templates/zerver/landing_nav_blue.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,24 @@
<li on-page="help">
<a class="no-style" href="/help/">Help Center</a>
</li>
{% if register_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/login/">Login</a>
</li>
{% endif %}
{% if register_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/register/">Register</a>
</li>
{% endif %}
{% if find_team_link_disabled %}
{% else %}
<li>
<a class="no-style" href="/find_my_team/">Find Accounts</a>
</li>
{% endif %}
</ul>
<div class="clear-float"></div>
</div>
Expand Down

0 comments on commit fb26473

Please sign in to comment.