aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Matte <devinmatte@gmail.com>2022-03-21 13:34:54 -0400
committerDevin Matte <devinmatte@gmail.com>2022-03-21 13:34:54 -0400
commitaeb8f275b88a1ad6b1df6334498e391bd8790336 (patch)
tree52c1d5f79aa4ffad00eac2cdf33328b7065e658a
parent90956fc8413cb6eee01fcafda15660751d2de5d2 (diff)
Removing phrase
-rw-r--r--packet/notifications.py2
-rw-r--r--packet/static/js/signing.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packet/notifications.py b/packet/notifications.py
index 49b89fb..dea47d8 100644
--- a/packet/notifications.py
+++ b/packet/notifications.py
@@ -48,7 +48,7 @@ def packet_signed_notification(packet: Packet, signer: str) -> None:
subscriptions = NotificationSubscription.query.filter_by(freshman_username=packet.freshman_username)
if subscriptions:
notification_body = post_body
- notification_body['contents']['en'] = signer + " signed your packet! Congrats or I'm Sorry"
+ notification_body['contents']['en'] = signer + " signed your packet!"
notification_body['headings']['en'] = 'New Packet Signature!'
notification_body['chrome_web_icon'] = 'https://profiles.csh.rit.edu/image/' + signer
notification_body['url'] = app.config['PROTOCOL'] + app.config['PACKET_INTRO']
diff --git a/packet/static/js/signing.js b/packet/static/js/signing.js
index 40b3872..da7281a 100644
--- a/packet/static/js/signing.js
+++ b/packet/static/js/signing.js
@@ -26,7 +26,7 @@ $(document).ready(function () {
method: "POST",
success: function (data) {
dialogs.fire({
- title: "Congratulations or I'm sorry",
+ title: "Packet Signed",
text: "You've signed " + packetData.freshman_name + "'s packet",
type: "success",
})