diff options
author | adityacp | 2017-08-22 12:22:32 +0530 |
---|---|---|
committer | adityacp | 2017-08-22 12:22:32 +0530 |
commit | dade8a89e3e3f882aa05f974feed1b7248fd6de8 (patch) | |
tree | 474670d1556c7225389f19b321a475ee8ddc1959 /yaksh/templates | |
parent | 30bd1c36a4abea6c6afea3a52d3a84d335c5673a (diff) | |
download | online_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.tar.gz online_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.tar.bz2 online_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.zip |
Change course.js, course_detail.html and views.py
- Change form submission for send email in js
- Change template and view variable for mail status
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/course_detail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 1f0e894..bcada42 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -20,7 +20,7 @@ <div class="row"> <div class="col-sm-3 col-md-2 sidebar"> <ul class="nav nav-sidebar"> - {% if status == 'mail'%} + {% if state == 'mail'%} <li><a href="{{URL_ROOT}}/exam/manage/course_detail/{{course.id}}/"> Go to Course Details</a></li> {% else %} @@ -55,7 +55,7 @@ </center> </div> {% endif %} - {% if status == 'mail' %} + {% if state == 'mail' %} <div id="enrolled-students"> <center><b><u>Send Mails to Students</u></b></center><br> {% if course.get_enrolled %} |