-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SG-20264 Support Email Update (#101)
* Switched to using support_url from tk-core instead of the hard-coded email address. Also using TKMessageBox from tk-core to make sure hyperlinks are clickable and styled * Updated build_resources to use local PySide * Added core_api files to make sure testing is done with the local tk-core instead of the latest app_store version
- Loading branch information
1 parent
4de620f
commit 0ad0133
Showing
8 changed files
with
55 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
|
||
from sgtk import TankError | ||
from sgtk.platform.qt import QtGui | ||
from sgtk import support_url | ||
|
||
from .file_action import FileAction | ||
from .action import Action | ||
|
@@ -77,8 +78,10 @@ def execute(self, parent_ui): | |
# and raise a new, clearer exception for this specific use case: | ||
raise TankError( | ||
"Unable to resolve template fields after folder creation! This could mean " | ||
"there is a mismatch between your folder schema and templates. Please email " | ||
"[email protected] if you need help fixing this." | ||
"there is a mismatch between your folder schema and templates. Please " | ||
"contact us via {} if you need help fixing this.".format( | ||
support_url | ||
) | ||
) | ||
|
||
# reset the current scene: | ||
|
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 |
---|---|---|
|
@@ -377,8 +377,8 @@ def _generate_path( | |
# and raise a new, clearer exception for this specific use case: | ||
raise TankError( | ||
"Unable to resolve template fields! This could mean there is a mismatch " | ||
"between your folder schema and templates. Please email " | ||
"[email protected] if you need help fixing this." | ||
"between your folder schema and templates. Contact us via {} " | ||
"if you need help fixing this.".format(sgtk.support_url) | ||
) | ||
|
||
# it's ok not to have a path preview at this point! | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2020 Shotgun Software Inc. | ||
# | ||
# CONFIDENTIAL AND PROPRIETARY | ||
# | ||
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit | ||
# Source Code License included in this distribution package. See LICENSE. | ||
# By accessing, using, copying or modifying this work you indicate your | ||
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights | ||
# not expressly granted therein are reserved by Shotgun Software Inc. | ||
|
||
# this configuration file defines which version of the toolkit | ||
# core API that should be used at runtime. | ||
|
||
location: | ||
type: path | ||
path: $SHOTGUN_REPOS_ROOT/tk-core |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2020 Shotgun Software Inc. | ||
# | ||
# CONFIDENTIAL AND PROPRIETARY | ||
# | ||
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit | ||
# Source Code License included in this distribution package. See LICENSE. | ||
# By accessing, using, copying or modifying this work you indicate your | ||
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights | ||
# not expressly granted therein are reserved by Shotgun Software Inc. | ||
|
||
# this configuration file defines which version of the toolkit | ||
# core API that should be used at runtime. | ||
|
||
location: | ||
type: path | ||
path: $SHOTGUN_REPOS_ROOT/tk-core |