File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
deploy-board/deploy_board Expand file tree Collapse file tree 4 files changed +13
-2
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
460+ if os .getenv ("TELETRAAN_TIER3_ONBOARDING_DISABLED" , "false" ) == "true"
461+ else False
462+ )
458463
459464 # Entitlements UI Links
460465 ENTITLEMENTS_UI_LINK = os .getenv ("ENTITLEMENTS_UI_LINK" )
Original file line number Diff line number Diff line change 1- <div id= " noTier3Alert" class= " alert alert-danger" role= " alert" align= " center" >
1+ <div id= " noTier3Alert" class= " alert alert-danger" role= " alert" align= " center" style = " {{ hidden }} " >
22 <a href= " #" class= " close" data-dismiss= " alert" >×</a>
33 <i><b style= " font-size:24px;" >Tier 3 new service onboarding to Teletraan is now disabled. </b></i>
44 <p>
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