app/templates/projrev/proposal/submit.html
changeset 13 684540719344
parent 4 8d9da911ed7d
child 14 9d720dfded68
--- a/app/templates/projrev/proposal/submit.html	Fri Aug 07 01:03:56 2009 +0530
+++ b/app/templates/projrev/proposal/submit.html	Fri Aug 07 03:04:57 2009 +0530
@@ -33,10 +33,28 @@
 		</p>		
 	</form>
 				
-	<p class="post-footer align-right">					
-		<span class="comments">Reviews (5)</span>
-		<span class="date">Last reviewed: Nov 11, 2006</span>
-		<span class="date">Last submitted: Nov 11, 2006</span>	
+	<p class="post-footer align-right">
+		<span class="comments">Reviews:
+		{% if nr_reviews %}
+		  {{ nr_reviews }}
+		{% else %}
+		  (<i>None</i>)
+		{% endif %}
+		</span>
+		<span class="date">Last reviewed:
+		{% if last_reviewed %}
+      {{ last_reviewed|date:"jS F Y H:i" }}
+    {% else %}
+      (<i>Not Reviewed</i>)
+    {% endif %}
+		</span>
+		<span class="date">Last submitted:
+		{% if last_submitted %}
+      {{ last_submitted|date:"jS F Y H:i" }}
+    {% else %}
+      (<i>New Submission</i>)
+    {% endif %} 
+		</span>	
 	</p>
 				
 </div>