diff options
Diffstat (limited to 'comments/templates/comments/get_comments.html')
-rw-r--r-- | comments/templates/comments/get_comments.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/comments/templates/comments/get_comments.html b/comments/templates/comments/get_comments.html index 5dcc84a..71443db 100644 --- a/comments/templates/comments/get_comments.html +++ b/comments/templates/comments/get_comments.html @@ -22,6 +22,7 @@ <div class="accordion-inner"> <blockquote> {{ comment.body }} + <small>{{ comment.email }}</small> </blockquote> <div class="replies"> {% if comment.reply_set.all %} @@ -30,6 +31,7 @@ {% for reply in comment.reply_set.all %} <div class="reply"> <p>{{ reply.body }}</p> + <small> - {{ comment.email }}</small> </div> {% endfor %} <a class="btn btn-success btn-small" href="/comments/new-reply/?comment_id={{ comment.id }}">+ Reply</a> @@ -41,8 +43,11 @@ </div> <!-- /.accordion --> {% else %} <center> - <p> No comments for this example... </p> - <a class="btn btn-primary" href="/comments/new/?book={{ book }}&chapter={{ chapter }}&example={{ example }}&page={{ page }}">Create a new comment</a> + <div class="well"> + <h5>Book: {{ book }} / Chapter: {{ chapter }} / Example: {{ example }}</h5> + <p> <em>Be the first one to create a comment for this example.</em> </p> + <a class="btn btn-primary" href="/comments/new/?book={{ book }}&chapter={{ chapter }}&example={{ example }}&page={{ page }}">+ Create a new comment</a> + </div> </center> {% endif %} </div> <!-- /#recent-comments-form --> |