Skip to content

Adding course name to subject in massive mails #11

@versae

Description

@versae

Since there is no custom emails for courses, should be nice if by default the course name is added to the subject of the email, so students enrolled in more than one course can know what course the email comes from.

I changed this two lines in teacheradmin/tasks.py

if len(recipients) > 0:
    subject = u"[%s] %s" % (email.course.name, email.subject)
    send_mass_mail_wrapper(subject, email.message, recipients, html_content=True)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions