mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
terms: Rename and tweak FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE.
We do s/TOS/TERMS_OF_SERVICE/ on the name, and while we're at it, remove the assumed zerver/ namespace for the template, which isn't correct -- Zulip Cloud related content should be in the corporate/ directory.
This commit is contained in:
@@ -496,7 +496,7 @@ class HomeTest(ZulipTestCase):
|
||||
user.tos_version = None
|
||||
user.save()
|
||||
|
||||
with self.settings(FIRST_TIME_TOS_TEMPLATE="hello.html"), self.settings(
|
||||
with self.settings(FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE="zerver/hello.html"), self.settings(
|
||||
TERMS_OF_SERVICE_VERSION="99.99"
|
||||
):
|
||||
result = self.client_post("/accounts/accept_terms/")
|
||||
|
||||
Reference in New Issue
Block a user