From 13d72e3cf223dc3d410472bbe588cc65b10aa760 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 15 Apr 2016 18:41:44 +0530 Subject: minor changes in template --- commentingapp/templates/commenting.html | 85 ++++++++++++++++----------------- 1 file changed, 41 insertions(+), 44 deletions(-) diff --git a/commentingapp/templates/commenting.html b/commentingapp/templates/commenting.html index ef08090..dac6b37 100644 --- a/commentingapp/templates/commenting.html +++ b/commentingapp/templates/commenting.html @@ -1,53 +1,50 @@ {% extends "base.html" %} - {% block title %} TBC Commenting {% endblock %} +{% block title %} TBC Commenting {% endblock %} {% block content %} -

TBC Commenting

-
Hi {{user}}

- Go to Disqus admin Page - - {% if not url_context %} -

There are no new comments

- {% else %} - -
- {% csrf_token %} - - - - - - - - {% for urls in url_context %} - - - - - - - - - {% endfor %} -
Sr. no Url Comments
{{ forloop.counter }} {{ urls.url }} - {% for comments in urls.comments_set.all %} - {% if comments.is_notified == 0 %} -
  • - {{comments.comments}} -
  • - - {% endif %} - {% endfor %} - -
    -
    +

    TBC Commenting

    +
    Hi {{user}}

    + Go to Disqus admin Page + + {% if not url_context %} +

    There are no new comments

    + {% else %} + + + {% csrf_token %} + + + + + + + + {% for urls in url_context %} + + + + + {% endfor %} +
    Sr. no Url Comments
    {{ forloop.counter }} {{ urls.url }} + + {% for comments in urls.comments_set.all %} + {% if comments.is_notified == 0 %} + + + + + {% endif %} + {% endfor %} + +
    {{comments.comments}}
    +
    +
    -
    +
    -
    -{% endif %} + + {% endif %} {% endblock %} -- cgit