summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorCruiseDevice2020-04-22 18:26:44 +0530
committerCruiseDevice2020-04-22 18:26:44 +0530
commit3a01e7eb424a0eadfe27386db275682b9d5ca5bd (patch)
tree14e38c890b525f2dc5bc2ef3f81ae4651424cdc2 /yaksh/templates
parent04b59bef46557f5e7a1230ab8e5a4929b48c5d59 (diff)
downloadonline_test-3a01e7eb424a0eadfe27386db275682b9d5ca5bd.tar.gz
online_test-3a01e7eb424a0eadfe27386db275682b9d5ca5bd.tar.bz2
online_test-3a01e7eb424a0eadfe27386db275682b9d5ca5bd.zip
More Tests
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/course_forum.html2
-rw-r--r--yaksh/templates/yaksh/post_comments.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/templates/yaksh/course_forum.html b/yaksh/templates/yaksh/course_forum.html
index ff83c1a..17dc287 100644
--- a/yaksh/templates/yaksh/course_forum.html
+++ b/yaksh/templates/yaksh/course_forum.html
@@ -73,7 +73,7 @@
</td>
<td>
{% if user.profile.is_moderator %}
- <small><a href="{% url "yaksh:hide_post" course.id post.uid %}" class="pull-right">Delete</i></a></small>
+ <small><a href="{% url "yaksh:hide_post" course.id post.uid %}" class="pull-right btn btn-danger">Delete</i></a></small>
{% endif %}
</td>
</tr>
diff --git a/yaksh/templates/yaksh/post_comments.html b/yaksh/templates/yaksh/post_comments.html
index ee54c74..97d6eec 100644
--- a/yaksh/templates/yaksh/post_comments.html
+++ b/yaksh/templates/yaksh/post_comments.html
@@ -17,7 +17,7 @@
<small>
<strong>{{post.creator.username}}</strong>
{{post.created_at|naturaltime}}
- {% if user.profile.is_moderator %}<a href="{% url "yaksh:hide_post" post.course.id post.uid %}" class="pull-right">Delete</a>{% endif %}
+ {% if user.profile.is_moderator %}<a href="{% url "yaksh:hide_post" post.course.id post.uid %}" class="pull-right btn btn-danger">Delete</a>{% endif %}
</small>
</div>
@@ -44,7 +44,7 @@
<div>{{comment.description}}</div>
<small class="pull-right">
by: <strong>{{comment.creator.username}} </strong>. {{comment.created_at|naturaltime}}
- {% if user.profile.is_moderator %}<a href="{% url "yaksh:hide_comment" post.course.id comment.uid %}">Delete</a>{% endif %}
+ {% if user.profile.is_moderator %}<a href="{% url "yaksh:hide_comment" post.course.id comment.uid %}" class="btn btn-danger">Delete</a>{% endif %}
</small>
</div>
{% endfor %}