# HG changeset patch # User Madhusudan.C.S # Date 1250114205 -19800 # Node ID 9ffe957d61590e06d38d691aa2eabcd1576b54a8 # Parent 6fda3f3cc873299c4cf432ea8ee6f4f8186d6fbb Split list files between, review and rank. diff -r 6fda3f3cc873 -r 9ffe957d6159 app/projrev/views/proposal.py --- a/app/projrev/views/proposal.py Thu Aug 13 03:20:01 2009 +0530 +++ b/app/projrev/views/proposal.py Thu Aug 13 03:26:45 2009 +0530 @@ -265,7 +265,7 @@ context = {} if not micr_code: - template = 'projrev/proposal/list.html' + template = 'projrev/proposal/review_list.html' context['projects'] = [] projects = Project.objects.all().exclude( status__exact='invalid').order_by('-last_updated_on') diff -r 6fda3f3cc873 -r 9ffe957d6159 app/templates/projrev/proposal/list.html --- a/app/templates/projrev/proposal/list.html Thu Aug 13 03:20:01 2009 +0530 +++ b/app/templates/projrev/proposal/list.html Thu Aug 13 03:26:45 2009 +0530 @@ -1,51 +1,22 @@ {% extends "projrev/base.html" %} -{% load review_helpers %} - - {% block content %}
- - - + - {% for project in projects %} - {% if project.not_this_proposal %} - - - {% endif %} - - - - - - - - + + + + + {% endfor %}
Serial No.MICR CodeTitleMICR Code Line Item Institution State DistrictOld Serial No.
- {% if project.user_review %} - - {% else %} - - {% endif %} - {{ project.project|serial_no:"new" }} - {{ project.project.micr_code }}{{ project.project.title }}{{ project.project.line_item }}{{ project.project.institution }}{{ project.project.state }}{{ project.project.district }}{{ project.project|serial_no:"old" }}
+ {{ project.micr_code }}{{ project.line_item }}{{ project.institution }}{{ project.state }}{{ project.district }}
diff -r 6fda3f3cc873 -r 9ffe957d6159 app/templates/projrev/proposal/review_list.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/templates/projrev/proposal/review_list.html Thu Aug 13 03:26:45 2009 +0530 @@ -0,0 +1,54 @@ +{% extends "projrev/base.html" %} +{% load review_helpers %} + + +{% block content %} +
+
+ + + + + + + + + + + + {% for project in projects %} + {% if project.not_this_proposal %} + + + {% endif %} + + + + + + + + + + {% endfor %} +
Serial No.MICR CodeTitleLine ItemInstitutionStateDistrictOld Serial No.
+ {% if project.user_review %} + + {% else %} + + {% endif %} + {{ project.project|serial_no:"new" }} + {{ project.project.micr_code }}{{ project.project.title }}{{ project.project.line_item }}{{ project.project.institution }}{{ project.project.state }}{{ project.project.district }}{{ project.project|serial_no:"old" }}
+
+
+{% endblock content %} \ No newline at end of file