summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yaksh/send_emails.py2
-rw-r--r--yaksh/templates/yaksh/course_detail.html12
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 }}/">