app/templates/projrev/templatetags/_as_review.html
changeset 27 37612f295cd4
parent 26 97bd3c28c957
child 42 4cf4c1f0e5bb
--- a/app/templates/projrev/templatetags/_as_review.html	Mon Aug 10 01:00:32 2009 +0530
+++ b/app/templates/projrev/templatetags/_as_review.html	Mon Aug 10 01:38:02 2009 +0530
@@ -1,31 +1,17 @@
-<div class="ghoptaskcomment">
- <div class="title" id="c{{ comment_id }}">
-  On {{ comment.created_on|date:"jS F Y H:i" }},
-  by
-  {% if comment.created_by %} 
-    {{ comment.created_by.name }}:
-  {% else %}
-    {{ site_name }} Automatic Updater:
-  {% endif %}
-  <span class="spc{{ comment_id }}">
-   <a title="Permalink to this Comment" href="#c{{ comment_id }}">ΒΆ</a>
-  </span>
- </div>
- <div class="box-inner">
-  <p>
-   {% if comment.content %}
-     {{ comment.content|safe }}</p>
-   {% else %}
-   (No Comment was entered for this change.)
-   {% endif %}
- </div>
- {% if comment.changes %}
-  <div class="changes">
-   <div class="box-inner">
-    <b>Changes:</b>
-    {{ comment.changes|join:"; " }} 
-   </div>
-  </div>
- {% endif %}
-</div>
-<hr />
\ No newline at end of file
+<p class="post-footer align-right">
+  Comment by: <strong>{{ review.reviewer}}</strong>,
+On <strong>{{ review.reviewed_on|date:"jS F Y h:iA" }}</strong>
+  Total Score: <strong>{{ total_score }}</strong><br />
+  Attribute 1: <strong>{{ review.attribute1 }},</strong> 
+  Attribute 2: <strong>{{ review.attribute2 }},</strong>
+  Attribute 3: <strong>{{ review.attribute3 }},</strong>
+  Attribute 4: <strong>{{ review.attribute4 }},</strong>
+  Attribute 5: <strong>{{ review.attribute5 }},</strong>
+  Attribute 6: <strong>{{ review.attribute6 }},</strong>
+  Attribute 7: <strong>{{ review.attribute7 }},</strong>
+  Attribute 8: <strong>{{ review.attribute8 }},</strong>
+  Attribute 9: <strong>{{ review.attribute9 }}</strong>
+</p>
+<div class="review-center-box">
+  {{ review.comment }}
+</div>
\ No newline at end of file