diff options
author | adityacp | 2017-06-14 12:33:45 +0530 |
---|---|---|
committer | adityacp | 2017-06-14 12:33:45 +0530 |
commit | 57eaf342d16f33b8ea67b89c78907d9c1f7b4632 (patch) | |
tree | 382f790d18a555b7985ce090a9043ad267fa1d63 /yaksh | |
parent | 18fff6daed3d57471514fdf189c60865838d43ee (diff) | |
download | online_test-57eaf342d16f33b8ea67b89c78907d9c1f7b4632.tar.gz online_test-57eaf342d16f33b8ea67b89c78907d9c1f7b4632.tar.bz2 online_test-57eaf342d16f33b8ea67b89c78907d9c1f7b4632.zip |
Change send_emails.py and course_detail.html
- Change variable assignment in send_emails.py
- Add proper indentation in course_detail.html
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/send_emails.py | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/course_detail.html | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/yaksh/send_emails.py b/yaksh/send_emails.py index 4465ce9..ae49f23 100644 --- a/yaksh/send_emails.py +++ b/yaksh/send_emails.py @@ -63,7 +63,7 @@ def send_user_mail(user_mail, key): def send_bulk_mail(subject, email_body, recipients, attachments): try: - text_msg = "Yaksh" + text_msg = "" msg = EmailMultiAlternatives(subject, text_msg, settings.SENDER_EMAIL, recipients ) diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 676d7f3..4ff380e 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -22,11 +22,15 @@ <div class="col-sm-3 col-md-2 sidebar"> <ul class="nav nav-sidebar"> {% if msg == 'mail'%} - <li><a href="{{URL_ROOT}}/exam/manage/course_detail/{{course.id}}/">Go to Course Details</a></li> + <li><a href="{{URL_ROOT}}/exam/manage/course_detail/{{course.id}}/"> + Go to Course Details</a></li> {% else %} - <li><a href="#student-requests" id="request"> Requested Students </a></li> - <li><a href="#enrolled-students" id="enroll-students"> Enrolled Students </a></li> - <li><a href="#rejected-students" id="reject-students"> Rejected Students </a></li> + <li><a href="#student-requests" id="request"> + Requested Students </a></li> + <li><a href="#enrolled-students" id="enroll-students"> + Enrolled Students </a></li> + <li><a href="#rejected-students" id="reject-students"> + Rejected Students </a></li> {% endif %} <li> <a href="{{URL_ROOT}}/exam/manage/toggle_status/{{ course.id }}/"> |