File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
deploy-board/deploy_board Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 455455 PINCOMPUTE_ONBOARDING_LINK = os .getenv ("PINCOMPUTE_ONBOARDING_LINK" )
456456 PINCOMPUTE_EXCEPTION_FORM_LINK = os .getenv ("PINCOMPUTE_EXCEPTION_FORM_LINK" )
457457 PINCOMPUTE_SLACK_LINK = os .getenv ("PINCOMPUTE_SLACK_LINK" )
458+ TIER3_ONBOARDING_DISABLED = (
459+ True if os .getenv ("TELETRAAN_TIER3_ONBOARDING_DISABLED" , "false" ) == "true" else False
460+ )
458461
459462 # Entitlements UI Links
460463 ENTITLEMENTS_UI_LINK = os .getenv ("ENTITLEMENTS_UI_LINK" )
Original file line number Diff line number Diff line change 1010
1111{% block breadcrumb-items %}
1212{% if pinterest %}
13- {% include "deploys/warning_no_tier3.tmpl" %}
13+ {% if tier3_onboarding_disabled %}
14+ {% include "deploys/warning_no_tier3.tmpl" %}
15+ {% else %}
16+ {% include "deploys/warning_no_tier3.tmpl" with hidden='display: none;' %}
17+ {% endif %}
1418{% endif %}
1519{% endblock breadcrumb-items %}
1620
Original file line number Diff line number Diff line change 2424 PINCOMPUTE_ONBOARDING_LINK ,
2525 PINCOMPUTE_EXCEPTION_FORM_LINK ,
2626 PINCOMPUTE_SLACK_LINK ,
27+ TIER3_ONBOARDING_DISABLED ,
2728)
2829from django .middleware .csrf import get_token
2930from .accounts import get_accounts_from_deploy
@@ -115,6 +116,7 @@ def get_landing_page(request):
115116 "pincompute_onboarding_link" : PINCOMPUTE_ONBOARDING_LINK ,
116117 "pincompute_exception_form_link" : PINCOMPUTE_EXCEPTION_FORM_LINK ,
117118 "pincompute_slack_link" : PINCOMPUTE_SLACK_LINK ,
119+ "tier3_onboarding_disabled" : TIER3_ONBOARDING_DISABLED ,
118120 },
119121 )
120122
You can’t perform that action at this time.
0 commit comments