Skip to content

Commit

Permalink
Small OT email structure changes (#4417)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRyanSmith authored Oct 3, 2024
1 parent eb3b8f0 commit f6e2c8c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internals/notifier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ def test_make_activated_email(self):
handler = notifier.OTActivatedHandler()
stage_dict = converters.stage_to_json_dict(self.ot_stage)
email_task = handler.build_email(stage_dict, self.contacts)
TESTDATA.make_golden(email_task['html'], 'test_make_activated_email.html')
# TESTDATA.make_golden(email_task['html'], 'test_make_activated_email.html')
self.assertEqual(email_task['subject'],
'Example Trial origin trial is now available')
self.assertEqual(email_task['html'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<br>
These changes have also been applied to the trial entry at: https://chromestatus.com/feature/1
<br><br>
Thanks,
Thanks,<br>
Origin Trials team
</p>
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
and processed. The trial is slated to begin with the Chrome stable release
for 100. We'll notify you again when the
trial has been activated and is available for registration in the
<a href='https://origintrials-staging.corp.google.com/origintrials/'>OT Console</a>
<a href='https://origintrials-staging.corp.google.com/origintrials/'>OT Console</a>.
<br>
These changes have also been applied to the trial entry at:
https://chromestatus.com/feature/1
<br><br>
Thanks,
Thanks,<br>
Origin Trials team
</p>
2 changes: 1 addition & 1 deletion templates/origintrials/ot-activated-email.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<br>
These changes have also been applied to the trial entry at: {{chromestatus_url}}
<br><br>
Thanks,
Thanks,<br>
Origin Trials team
</p>
4 changes: 2 additions & 2 deletions templates/origintrials/ot-creation-processed-email.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
and processed. The trial is slated to begin with the Chrome stable release
for {{stage.desktop_first}}. We'll notify you again when the
trial has been activated and is available for registration in the
<a href='{{ot_url}}'>OT Console</a>
<a href='{{ot_url}}'>OT Console</a>.
<br>
These changes have also been applied to the trial entry at:
{{chromestatus_url}}
<br><br>
Thanks,
Thanks,<br>
Origin Trials team
</p>

0 comments on commit f6e2c8c

Please sign in to comment.