summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorCruiseDevice2020-04-24 20:54:08 +0530
committerCruiseDevice2020-04-24 20:54:08 +0530
commit8f66c175447bc335c9121d5bf5ae1cb5b181cef9 (patch)
tree505737f7a34d8d64c4b68f5468c6a9ca8eb3383f /yaksh/templates
parent536b4634eb275332d2932983e451b85809554438 (diff)
downloadonline_test-8f66c175447bc335c9121d5bf5ae1cb5b181cef9.tar.gz
online_test-8f66c175447bc335c9121d5bf5ae1cb5b181cef9.tar.bz2
online_test-8f66c175447bc335c9121d5bf5ae1cb5b181cef9.zip
Add card-text class to p in card-body
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/post_comments.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/templates/yaksh/post_comments.html b/yaksh/templates/yaksh/post_comments.html
index 57dbe26..227530e 100644
--- a/yaksh/templates/yaksh/post_comments.html
+++ b/yaksh/templates/yaksh/post_comments.html
@@ -14,7 +14,7 @@
<div class="card-header text-white bg-dark py-2 px-3">
{{post.title}}
<br>
- <small class="">
+ <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 btn btn-danger">Delete</a>{% endif %}
@@ -22,7 +22,7 @@
</div>
<div class="card-body">
- <p class="description">{{post.description}}</p>
+ <p class="card-text description">{{post.description}}</p>
{% if post.image %}
<a href="{{post.image.url}}" target="_blank">
<center><img src="{{post.image.url}}" class="post_image thumbnail" alt=""></center>
@@ -43,7 +43,7 @@
<small class="text-muted">{{comment.created_at}} {% 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>
</div>
- <p class="description">{{comment.description}}</p>
+ <p class="card-text description">{{comment.description}}</p>
<div>
{% if comment.image %}
<a href="{{comment.image.url}}" target="_blank">