diff options
author | komalsheth286 | 2016-10-05 14:16:42 +0530 |
---|---|---|
committer | komalsheth286 | 2016-10-05 14:16:42 +0530 |
commit | d1312be1555c8cb0d372acd7bac28cb6ad051a3d (patch) | |
tree | dd4faec6ac1105a30b7a2c4c8da61cef50168632 /website/templates/view-abstracts.html | |
parent | 2f3cb1b10df96b5b62ccc794b1eafcfef48d4b5e (diff) | |
download | SciPy2016-d1312be1555c8cb0d372acd7bac28cb6ad051a3d.tar.gz SciPy2016-d1312be1555c8cb0d372acd7bac28cb6ad051a3d.tar.bz2 SciPy2016-d1312be1555c8cb0d372acd7bac28cb6ad051a3d.zip |
resubmission of proposal is added
Diffstat (limited to 'website/templates/view-abstracts.html')
-rwxr-xr-x | website/templates/view-abstracts.html | 14 |
1 files changed, 9 insertions, 5 deletions
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 <a href="{% url 'w <col width="70%" /> <col width="10%" /> <col width="10%" /> - <col width="10%" /> <col width="20%" /> {% endif %} @@ -88,6 +87,8 @@ You have not submitted any proposal. To submit proposal click <a href="{% url 'w {% endif %} {% if user.is_superuser %} <th> Ratings + {% else %} + <th> Comments {% endif %} <th> Status {% for proposal in proposals %} @@ -107,12 +108,15 @@ You have not submitted any proposal. To submit proposal click <a href="{% url 'w <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:.5px;"> {{proposal.title}}</td> <td ><a href="{% url 'website:abstract_details' proposal.id %}">View</a> </td> {% endif %} -{% if user.is_superuser %} - <td> {% for rating in proposal.ratings_set.all %} - {{ rating.rating}} by {{rating.user}}<br> + <td>{% if user.is_superuser %} + {% for rating in proposal.ratings_set.all %} + {{ rating.rating}} - {{rating.user}}<br> {% endfor %} + {% else %} + {{proposal.comments_set.count}} + {% endif %} + </td> -{% endif %} <td> {% if proposal.status = 'Accepted' %} <h5 style="color:green;">{{proposal.status}}</h5> |