From d1312be1555c8cb0d372acd7bac28cb6ad051a3d Mon Sep 17 00:00:00 2001 From: komalsheth286 Date: Wed, 5 Oct 2016 14:16:42 +0530 Subject: resubmission of proposal is added --- website/templates/view-abstracts.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'website/templates/view-abstracts.html') diff --git a/website/templates/view-abstracts.html b/website/templates/view-abstracts.html index 8979363..6a9a72b 100755 --- a/website/templates/view-abstracts.html +++ b/website/templates/view-abstracts.html @@ -71,7 +71,6 @@ You have not submitted any proposal. To submit proposal click - {% endif %} @@ -88,6 +87,8 @@ You have not submitted any proposal. To submit proposal click {{proposal.title}} View {% endif %} -{% if user.is_superuser %} - {% for rating in proposal.ratings_set.all %} - {{ rating.rating}} by {{rating.user}}
+ {% if user.is_superuser %} + {% for rating in proposal.ratings_set.all %} + {{ rating.rating}} - {{rating.user}}
{% endfor %} + {% else %} + {{proposal.comments_set.count}} + {% endif %} + -{% endif %} {% if proposal.status = 'Accepted' %}
{{proposal.status}}
-- cgit