Skip to content

Commit 4c4f79c

Browse files
authored
BLUEBUTTON-372: NAVBAR needs edit for PROD (#631)
api.bluebutton.cms.gov should not offer login or signup on the site. Disable Login and redirect signup to sandbox.bluebutton.cms.gov/v1/accounts/create
1 parent c5ad294 commit 4c4f79c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

templates/include/top-nav-responsive.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ <h5 class="sr-only" id="desktop-nav">Main site navigation</h5>
5757
<li><a href="{% url 'mylogout' %}">Logout <i class="fa fa-sign-out"></i></a></li>
5858

5959
{% else %}
60-
61-
<li><a href="{% url 'mfa_login' %}"> <i class="fa fa-user"></i> Login</a></li>
62-
<li><a href="{% url 'accounts_create_account' %}"> <i class="fa fa-plus"></i> Signup</a></li>
60+
{% if 'apps.testclient' in settings.INSTALLED_APPS %}
61+
<li><a href="{% url 'mfa_login' %}"> <i class="fa fa-user"></i> Login</a></li>
62+
<li><a href="{% url 'accounts_create_account' %}"> <i class="fa fa-plus"></i> Signup</a></li>
63+
{% else %}
64+
<li><a href="https://sandbox.bluebutton.cms.gov/v1/accounts/create"> <i class="fa fa-plus"></i> Signup</a></li>
65+
{% endif %}
6366
{% endif %}
6467

6568
<li>

0 commit comments

Comments
 (0)