summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/base.html4
-rw-r--r--yaksh/templates/yaksh/post_comments.html2
-rw-r--r--yaksh/templates/yaksh/show_lesson_quiz.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index cba56cb..90a6299 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -63,8 +63,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);
diff --git a/yaksh/templates/yaksh/post_comments.html b/yaksh/templates/yaksh/post_comments.html
index 70aac47..aadc48b 100644
--- a/yaksh/templates/yaksh/post_comments.html
+++ b/yaksh/templates/yaksh/post_comments.html
@@ -77,7 +77,7 @@
</strong>
</div>
<div class="col-6 text-right">
- <small class="text-muted">{{comment.created_at}} {% if user == course.creator or user in course.get_teachers %} <a href="{% url 'yaksh:hide_comment' post.target.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small>
+ <small class="text-muted">{{comment.created_at}} {% if user == course.creator or user in course.get_teachers %} <a href="{% url 'yaksh:hide_comment' course.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small>
</div>
</div>
<p class="card-text description">{{comment.description|safe}}</p>
diff --git a/yaksh/templates/yaksh/show_lesson_quiz.html b/yaksh/templates/yaksh/show_lesson_quiz.html
index 82e01bc..39e590c 100644
--- a/yaksh/templates/yaksh/show_lesson_quiz.html
+++ b/yaksh/templates/yaksh/show_lesson_quiz.html
@@ -5,8 +5,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);