app/templates/projrev/proposal/rank.html
author Santosh G. Vattam <vattam.santosh@gmail.com>
Mon, 10 Aug 2009 16:38:13 +0530
changeset 34 21942fac2b4b
parent 27 37612f295cd4
child 39 e7880a8f7e04
permissions -rw-r--r--
Merge vattam and default branches.

{% extends "projrev/base.html" %}
{% load review_helpers %}

{% 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>

  <p class="post-footer align-right">
    <div class='review-left'>
      Attribute Name
    </div>
    <div class='review-right'>
      <b>Score</b>&nbsp;&nbsp;&nbsp;&nbsp;<b>Average</b>
    </div>
    <br />
    <div class='review-left'>
      Attribute 1:
    </div>
    <div class='review-right'>
      {{ review_score.0 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.0 }}
    </div>
    <br />
    <div class='review-left'>
      Attribute 2:
    </div>
    <div class='review-right'>
      {{ review_score.1 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.1 }}
    </div>
    <br />
    <div class='review-left'>
      Attribute 3:
    </div>
    <div class='review-right'>
      {{ review_score.2 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.2 }}
    </div><br />
    <div class='review-left'>
      Attribute 4:
    </div>
    <div class='review-right'>
      {{ review_score.3 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.3 }}
    </div><br />
    <div class='review-left'>
      Attribute 5:
    </div>
    <div class='review-right'>
      {{ review_score.4 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.4 }}
    </div><br />
    <div class='review-left'>
      Attribute 6:
    </div>
    <div class='review-right'>
      {{ review_score.5 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.5 }}
    </div><br />
    <div class='review-left'>
      Attribute 7:
    </div>
    <div class='review-right'>
      {{ review_score.6 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.6 }}
    </div><br />
    <div class='review-left'>
      Attribute 8:
    </div>
    <div class='review-right'>
      {{ review_score.7 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.7 }}
    </div><br />
    <div class='review-left'>
      Attribute 9:
    </div>
    <div class='review-right'>
      {{ review_score.8 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ review_avg.8 }}
    </div><br /><hr /><br />
    <div class='review-left'>
      Overall Score:
    </div>
    <div class='review-right'>
      {{ total_score }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      {{ total_avg }}
    </div>
  </p>

  <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 %}
  <br /><br />
  <p>
  <h2>Reviews: Comments and Scores:</h2>
  {% for review in reviews %}
    {% as_review review %}
  {% endfor %}
  </p>
  {% endif %}
</div>
{% endblock content %}