From b1f71c5439e3bdf7a3c0fb2c1730d6242c6356d9 Mon Sep 17 00:00:00 2001 From: anujag Date: Thu, 9 Aug 2012 18:38:06 +0530 Subject: added loom studio --- gstudio/templates/gstudio/tags/comment.html | 204 +++++++++++++++++++++------- 1 file changed, 158 insertions(+), 46 deletions(-) (limited to 'gstudio/templates/gstudio/tags') diff --git a/gstudio/templates/gstudio/tags/comment.html b/gstudio/templates/gstudio/tags/comment.html index cf446fe0..8e1d4806 100644 --- a/gstudio/templates/gstudio/tags/comment.html +++ b/gstudio/templates/gstudio/tags/comment.html @@ -15,54 +15,166 @@ {% for each in child.authors.all %} {% ifequal idusr admin_id %} -
  • {{each}} says {{child.title}} -
    {% csrf_token %} - - - - - - -
    - {% show_comment child idusr flag admin_id attribute%} -
  • - {% else %} - {% ifequal idusr each.id %} -
  • {{each}} says {{child.title}} -
    {% csrf_token %} - - - - - - -
    - {% show_comment child idusr flag admin_id attribute%} -
  • - {% else %} - {% ifequal attribute "true" %} - -
  • {{each}} says {{child.title}} -
    {% csrf_token %} - - - - - - -
    - {% show_comment child idusr flag admin_id attribute%} -
  • - {% endifequal %} - {% endifequal %} - {% endifequal %} - {% endfor %} - - -{% endfor %} - + +
    + + + +
  • {{each}}'s fabric +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    {% endif %} +{{child.content}} +
    {% csrf_token %} + + + + + + + +



    + + + + + + +
    + Do you wanna rate it ?
    + + + + + + +
    + +
    +
  • + + + {% show_comment child idusr flag admin_id attribute%} + + + {% else %} + {% ifequal idusr each.id %} + +
    + +{{each}}'s Response
    +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    +{% endif %} + {{child.content}} +
    {% csrf_token %} + + + + + +



    + + + + + + + + + +
    + Do you wanna rate it ?
    + + + + + + +
    + + +
    +
    + {% show_comment child idusr flag admin_id attribute%} + + + {% else %} + {% ifequal attribute "true" %} + +
    + + {{each}}'s Response
    +{% if child.rating.get_rating %} +Current rating is {{ child.rating.get_rating }}
    +{% endif %} + {{child.content}} + +
    {% csrf_token %} + + + + + +



    + + + + + +
    + Rate this response
    + + + + + + +
    + + +
    + +
    + + {% show_comment child idusr flag admin_id attribute%} {% endifequal %} + {% endifequal %} + {% endifequal %} + {% endfor %} + {% endfor %} + +{% endif %} -- cgit v1.2.3-70-g09d2