-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1130,7 +1130,7 @@ def integration_connect_screen( | |
<a href="{wa_connect_url(on_connect)}" {LINKSTYLE} aria-label="Connect your Whatsapp number"> | ||
<img src="{WHATSAPP_IMG}" {IMGSTYLE} alt="Whatsapp"> | ||
</a> | ||
<div {DESCRIPTIONSTYLE}>Bring your own WhatsApp number to connect. Need a new one? Email <a href="mailto:[email protected]">[email protected]</a>.</div> | ||
<div {DESCRIPTIONSTYLE}>Bring your own <a href="https://business.facebook.com/wa/manage/phone-numbers">WhatsApp number</a> to connect. Need a new one? Email <a href="mailto:[email protected]">[email protected]</a>.</div> | ||
</div> | ||
<div {ROWSTYLE}> | ||
<a href="{slack_connect_url(on_connect)}" {LINKSTYLE} aria-label="Connect your Slack Workspace"> | ||
|
@@ -1322,6 +1322,30 @@ def integration_test_config_screen( | |
): | ||
raise RedirectException(add_integration) | ||
|
||
if bi.platform == Platform.WHATSAPP and bi.wa_business_waba_id: | ||
col1, col2 = st.columns(2, style={"align-items": "center"}) | ||
with col1: | ||
st.write("###### Whatsapp Business Management") | ||
st.caption( | ||
f"Only touch if you know what you're doing. Changing phonenumber(s) will break the Gooey integration." | ||
) | ||
with col2: | ||
st.anchor( | ||
"Business Settings", | ||
f"https://business.facebook.com/settings/whatsapp-business-accounts/{bi.wa_business_waba_id}", | ||
new_tab=True, | ||
) | ||
st.anchor( | ||
"WhatsApp Manager", | ||
f"https://business.facebook.com/wa/manage/home/?waba_id={bi.wa_business_waba_id}", | ||
new_tab=True, | ||
) | ||
st.anchor( | ||
"Phone Numbers", | ||
"https://business.facebook.com/wa/manage/phone-numbers", | ||
new_tab=True, | ||
) | ||
|
||
|
||
def chat_list_view(): | ||
# render a reversed list view | ||
|