app/templates/projrev/proposal/review.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 10 Aug 2009 01:00:32 +0530
changeset 26 97bd3c28c957
parent 14 9d720dfded68
child 27 37612f295cd4
permissions -rw-r--r--
Renamed Comments to Reviews.

{% extends "projrev/base.html" %}
{% block content %}
<div class="post">
			
	<a name="TemplateInfo"></a>	
	<h1>Review the proposal</h1>
				
	<p>The proposal details are given below followed by a Review form.</p>

  <div class='review-center-box'>
    <div class='review-left'>
      Project MICR Code:
    </div>
    <div class='review-right'>
      {{ project.micr_code }}
    </div>
    <br/>
    <div class='review-left'>
      Institution:
    </div>
    <div class='review-right'>
      {{ project.institution }}
    </div>
    <br/>
    <div class='review-left'>
      Project Line Item:
    </div>
    <div class='review-right'>
      {{ project.line_item }}
    </div>
    <br/>
    <div class='review-left'>
      State:
    </div>
    <div class='review-right'>
      {{ project.state }}
    </div>
    <br/>
    <div class='review-left'>
      District:
    </div>
    <div class='review-right'>
      {{ project.district }}
    </div>
    <br/>
    <div class='review-left'>
      Proposal Document:
    </div>
    <div class='review-right'>
      <a href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a>
    </div>
  </div>
	<form enctype="multipart/form-data" method="post" action="">			
		<p>
      {{ form.as_p }}
		<br />	
		<input class="button" type="submit" value="Submit Review" />		
		</p>
	</form>
				
	 <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:iA" }}
    {% else %}
      (<i>Not Reviewed</i>)
    {% endif %}
    </span>
    <span class="date">Last submitted:
    {% if last_submitted %}
      {{ last_submitted|date:"jS F Y h:iA" }}
    {% else %}
      (<i>New Submission</i>)
    {% endif %} 
    </span> 
  </p>
  {% if reviews %}
	{% for review in reviews %}
	  {% as_review review %}
	{% endfor %}
	{% endif %}
</div>
{% endblock content %}