diff options
author | ankitjavalkar | 2017-04-27 17:51:43 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-04-27 17:51:43 +0530 |
commit | ba54ff69f0eb8ff509e4e043c42b933771e205c5 (patch) | |
tree | a21f40a84daf2996868b41bb3ea51ad8b755d0e9 /yaksh | |
parent | 574b57c65d55d1f22a4907812ef22d2b44f8576c (diff) | |
download | online_test-ba54ff69f0eb8ff509e4e043c42b933771e205c5.tar.gz online_test-ba54ff69f0eb8ff509e4e043c42b933771e205c5.tar.bz2 online_test-ba54ff69f0eb8ff509e4e043c42b933771e205c5.zip |
Rename the Hidden label to Open Course
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/models.py | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/quizzes_user.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 35375e0..5fa828c 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -49,7 +49,7 @@ question_types = ( enrollment_methods = ( ("default", "Enroll Request"), - ("open", "Open Course"), + ("open", "Open Enrollment"), ) test_case_types = ( diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html index 4559e09..90d7f8e 100644 --- a/yaksh/templates/yaksh/quizzes_user.html +++ b/yaksh/templates/yaksh/quizzes_user.html @@ -29,7 +29,7 @@ No Courses to display <h4><b><u> {{ course.name }} by {{ course.creator.get_full_name }}</u></b></h4> </div> <div class="col-md-4"> - {% if course.hidden %}<span class="label label-info">Hidden</span> + {% if course.hidden %}<span class="label label-info">Open Course</span> {% endif %} {% if user in course.requests.all %} <span class="label label-warning">Request Pending </span> {% elif user in course.rejected.all %}<span class="label label-danger">Request Rejected</span> |