forked from superdesk/newsroom-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid AAP references in default theme (superdesk#526)
NHUB-12
- Loading branch information
Showing
9 changed files
with
14 additions
and
14 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<h3>Your company's account is expiring on {{expiry_date | datetime_short}}</h3></br> | ||
<h3>Please contact AAP for further details.</h3> | ||
<h3>Please contact us for further details.</h3> | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Your company's account is expiring on {{expiry_date | datetime_short}} | ||
Please contact AAP for further details. | ||
Please contact us for further details. |
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 |
---|---|---|
|
@@ -236,7 +236,7 @@ def test_share_items(client, app, mocker): | |
assert resp.status_code == 201, resp.get_data().decode("utf-8") | ||
assert len(outbox) == 1 | ||
assert outbox[0].recipients == ["[email protected]"] | ||
assert outbox[0].subject == "From AAP Newsroom: test headline" | ||
assert outbox[0].subject == "From Newshub: test headline" | ||
assert "Hi Foo Bar" in outbox[0].body | ||
assert "admin admin ([email protected]) shared " in outbox[0].body | ||
assert "Conference Planning" in outbox[0].body | ||
|
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 |
---|---|---|
|
@@ -153,7 +153,7 @@ def test_share_wire_topics(client, app): | |
assert len(outbox) == 1 | ||
assert outbox[0].recipients == ["[email protected]"] | ||
assert outbox[0].sender == "newsroom@localhost" | ||
assert outbox[0].subject == "From AAP Newsroom: %s" % topic["label"] | ||
assert outbox[0].subject == "From Newshub: %s" % topic["label"] | ||
assert "Hi Test Bar" in outbox[0].body | ||
assert "Foo Bar ([email protected]) shared " in outbox[0].body | ||
assert topic["query"] in outbox[0].body | ||
|
@@ -183,7 +183,7 @@ def test_share_agenda_topics(client, app): | |
assert len(outbox) == 1 | ||
assert outbox[0].recipients == ["[email protected]"] | ||
assert outbox[0].sender == "newsroom@localhost" | ||
assert outbox[0].subject == "From AAP Newsroom: %s" % agenda_topic["label"] | ||
assert outbox[0].subject == "From Newshub: %s" % agenda_topic["label"] | ||
assert "Hi Test Bar" in outbox[0].body | ||
assert "Foo Bar ([email protected]) shared " in outbox[0].body | ||
assert agenda_topic["query"] in outbox[0].body | ||
|
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ def test_share_items(client, app): | |
assert len(outbox) == 1 | ||
assert outbox[0].recipients == ["[email protected]"] | ||
assert outbox[0].sender == "newsroom@localhost" | ||
assert outbox[0].subject == "From AAP Newsroom: %s" % items[0]["headline"] | ||
assert outbox[0].subject == "From Newshub: %s" % items[0]["headline"] | ||
assert "Hi Foo Bar" in outbox[0].body | ||
assert "admin admin ([email protected]) shared " in outbox[0].body | ||
assert items[0]["headline"] in outbox[0].body | ||
|