add teletran transfer ownership url into render response
MODIFY
deploy-board/deploy_board/webapp/env_views.py
deploy-board/deploy_board/webapp/env_views.py
@@ -358,6 +358,8 @@ class EnvLandingView(View):
"disable_create_env_page": TELETRAAN_DISABLE_CREATE_ENV_PAGE,
"redirect_create_env_page_url": TELETRAAN_REDIRECT_CREATE_ENV_PAGE_URL,
"jira_source_url": TELETRAAN_JIRA_SOURCE_URL,
+ "transfer_ownership_url": TELETRAAN_TRANSFER_OWNERSHIP_URL,
+ "resource_ownership_wiki_url": TELETRAAN_RESOURCE_OWNERSHIP_WIKI_URL,
"groups": groups,
"capacity_hosts": capacity_hosts,
"provisioning_hosts": provisioning_hosts,
@@ -395,6 +397,8 @@ class EnvLandingView(View):
"code_freeze": IS_DURING_CODE_FREEZE,
"code_freeze_url": TELETRAAN_CODE_FREEZE_URL,
"jira_source_url": TELETRAAN_JIRA_SOURCE_URL,
+ "transfer_ownership_url": TELETRAAN_TRANSFER_OWNERSHIP_URL,
+ "resource_ownership_wiki_url": TELETRAAN_RESOURCE_OWNERSHIP_WIKI_URL,
"groups": groups,
"basic_cluster_info": basic_cluster_info,
"capacity_info": json.dumps(capacity_info),

MODIFY
deploy-board/deploy_board/webapp/helpers/environs_helper.py
deploy-board/deploy_board/webapp/helpers/environs_helper.py
"""Collection of all environs related calls
"""
from deploy_board.webapp.helpers.deployclient import DeployClient
-from deploy_board.settings import IS_PINTEREST, TELETRAAN_TRANSFER_OWNERSHIP_URL, TELETRAAN_RESOURCE_OWNERSHIP_WIKI_URL
+from deploy_board.settings import IS_PINTEREST
DEFAULT_ENV_SIZE = 30

add teletran transfer ownership url into render response (#640)