Skip to content

Commit

Permalink
Change call to action
Browse files Browse the repository at this point in the history
  • Loading branch information
aviupadhyayula committed Oct 11, 2024
1 parent b519b29 commit 933d6bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions backend/clubs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,16 +2068,15 @@ def perform_destroy(self, instance):
"name": club.name,
"reply_emails": settings.OSA_EMAILS + [settings.BRANDING_SITE_EMAIL],
}
emails = (
club.get_officer_emails() + [self.request.user.email] + settings.OSA_EMAILS
)
emails = club.get_officer_emails() + [self.request.user.email]
send_mail_helper(
name="club_deletion",
subject="Removal of {} from {}".format(
club.name, settings.BRANDING_SITE_NAME
),
emails=emails,
context=context,
reply_to=settings.OSA_EMAILS + [settings.BRANDING_SITE_EMAIL],
)

@action(detail=False, methods=["GET"])
Expand Down
5 changes: 2 additions & 3 deletions backend/templates/emails/approval_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2><b>{{ name }}</b> status update on Penn Clubs</h2>
</p>
<p style="font-size: 1.2em">
You can view your club <a href="{{ view_url }}">here</a> and make further edits <a href="{{ edit_url }}">here</a>.
If you have any feedback about the club renewal process, you can respond to this email.
If you have any feedback about the club renewal process, please respond to this email or <a href="mailto:{% for email in reply_emails %}{% if not forloop.first %},{% endif %}{{ email }}{% endfor %}">contact the Office of Student Affairs</a>.
</p>
<p style="font-size: 1.2em">
Thank you for using Penn Clubs.
Expand All @@ -48,8 +48,7 @@ <h2><b>{{ name }}</b> status update on Penn Clubs</h2>
<p style="font-size: 1.2em; padding: 8px; border-left: 5px solid #ccc;">{{ approved_comment }}</p>
<p style="font-size: 1.2em">Please <a href="{{ edit_url }}">make the necessary edits</a> to your club information and use the button <a href="{{ view_url }}">here</a> to resubmit for approval.</p>
<p style="font-size: 1.2em">
If you have any questions or concerns, please contact
<a href="mailto:{% for email in reply_emails %}{{ email }}{% if not forloop.last %},{% endif %}{% endfor %}">the Office of Student Affairs</a>.
If you have any questions about the approval process, please feel free to respond to this email or <a href="mailto:{% for email in reply_emails %}{% if not forloop.first %},{% endif %}{{ email }}{% endfor %}">contact the Office of Student Affairs</a>.
</p>
<p style="font-size: 1.2em">
<a
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/emails/club_deletion.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2><b>{{ name }}</b> status update on Penn Clubs</h2>
Your club has been removed from Penn Clubs by the Office of Student Affairs.
</p>
<p style="font-size: 1.2em">
If you have any questions or concerns, please contact
<a href="mailto:{% for email in reply_emails %}{{ email }}{% if not forloop.last %},{% endif %}{% endfor %}">the Office of Student Affairs</a>.
If you have any questions or concerns, please
respond to this email or <a href="mailto:{% for email in reply_emails %}{% if not forloop.first %},{% endif %}{{ email }}{% endfor %}">contact the Office of Student Affairs</a>.
</p>
{% endblock %}

0 comments on commit 933d6bb

Please sign in to comment.