app/templates/projrev/proposal/rank.html
changeset 34 21942fac2b4b
parent 27 37612f295cd4
child 39 e7880a8f7e04
equal deleted inserted replaced
33:2840389ee7f9 34:21942fac2b4b
     1 {% extends "projrev/base.html" %}
     1 {% extends "projrev/base.html" %}
       
     2 {% load review_helpers %}
       
     3 
     2 {% block content %}
     4 {% block content %}
     3 <div class="post">
     5 <div class="post">
     4 			
     6 			
     5 	<a name="TemplateInfo"></a>	
     7 	<a name="TemplateInfo"></a>	
     6 	<h1>Review the proposal</h1>
     8 	<h1>Review the proposal</h1>
    54   <p class="post-footer align-right">
    56   <p class="post-footer align-right">
    55     <div class='review-left'>
    57     <div class='review-left'>
    56       Attribute Name
    58       Attribute Name
    57     </div>
    59     </div>
    58     <div class='review-right'>
    60     <div class='review-right'>
    59       <b>Score</b>
    61       <b>Score</b>&nbsp;&nbsp;&nbsp;&nbsp;<b>Average</b>
    60     </div>
    62     </div>
    61     <br />
    63     <br />
    62     <div class='review-left'>
    64     <div class='review-left'>
    63       Attribute 1:
    65       Attribute 1:
    64     </div>
    66     </div>
    65     <div class='review-right'>
    67     <div class='review-right'>
    66       {{ review_score.0 }}
    68       {{ review_score.0 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    69       {{ review_avg.0 }}
    67     </div>
    70     </div>
    68     <br />
    71     <br />
    69     <div class='review-left'>
    72     <div class='review-left'>
    70       Attribute 2:
    73       Attribute 2:
    71     </div>
    74     </div>
    72     <div class='review-right'>
    75     <div class='review-right'>
    73       {{ review_score.1 }}
    76       {{ review_score.1 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    77       {{ review_avg.1 }}
    74     </div>
    78     </div>
    75     <br />
    79     <br />
    76     <div class='review-left'>
    80     <div class='review-left'>
    77       Attribute 3:
    81       Attribute 3:
    78     </div>
    82     </div>
    79     <div class='review-right'>
    83     <div class='review-right'>
    80       {{ review_score.2 }}
    84       {{ review_score.2 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    85       {{ review_avg.2 }}
    81     </div><br />
    86     </div><br />
    82     <div class='review-left'>
    87     <div class='review-left'>
    83       Attribute 4:
    88       Attribute 4:
    84     </div>
    89     </div>
    85     <div class='review-right'>
    90     <div class='review-right'>
    86       {{ review_score.3 }}
    91       {{ review_score.3 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    92       {{ review_avg.3 }}
    87     </div><br />
    93     </div><br />
    88     <div class='review-left'>
    94     <div class='review-left'>
    89       Attribute 5:
    95       Attribute 5:
    90     </div>
    96     </div>
    91     <div class='review-right'>
    97     <div class='review-right'>
    92       {{ review_score.4 }}
    98       {{ review_score.4 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    99       {{ review_avg.4 }}
    93     </div><br />
   100     </div><br />
    94     <div class='review-left'>
   101     <div class='review-left'>
    95       Attribute 6:
   102       Attribute 6:
    96     </div>
   103     </div>
    97     <div class='review-right'>
   104     <div class='review-right'>
    98       {{ review_score.5 }}
   105       {{ review_score.5 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
   106       {{ review_avg.5 }}
    99     </div><br />
   107     </div><br />
   100     <div class='review-left'>
   108     <div class='review-left'>
   101       Attribute 7:
   109       Attribute 7:
   102     </div>
   110     </div>
   103     <div class='review-right'>
   111     <div class='review-right'>
   104       {{ review_score.6 }}
   112       {{ review_score.6 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
   113       {{ review_avg.6 }}
   105     </div><br />
   114     </div><br />
   106     <div class='review-left'>
   115     <div class='review-left'>
   107       Attribute 8:
   116       Attribute 8:
   108     </div>
   117     </div>
   109     <div class='review-right'>
   118     <div class='review-right'>
   110       {{ review_score.7 }}
   119       {{ review_score.7 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
   120       {{ review_avg.7 }}
   111     </div><br />
   121     </div><br />
   112     <div class='review-left'>
   122     <div class='review-left'>
   113       Attribute 9:
   123       Attribute 9:
   114     </div>
   124     </div>
   115     <div class='review-right'>
   125     <div class='review-right'>
   116       {{ review_score.8 }}
   126       {{ review_score.8 }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   117     </div><br />
   127       {{ review_avg.8 }}
       
   128     </div><br /><hr /><br />
   118     <div class='review-left'>
   129     <div class='review-left'>
   119       Overall Score:
   130       Overall Score:
   120     </div>
   131     </div>
   121     <div class='review-right'>
   132     <div class='review-right'>
   122       {{ total_score }}
   133       {{ total_score }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
   134       {{ total_avg }}
   123     </div>
   135     </div>
   124   </p>	
   136   </p>
   125 	<p class="post-footer align-right">					
   137 
   126 		<span class="comments">Reviews (5)</span>
   138   <p class="post-footer align-right">
   127 		<span class="date">Last reviewed: Nov 11, 2006</span>
   139     <span class="comments">Reviews:
   128 		<span class="date">Last submitted: Nov 11, 2006</span>	
   140     {% if nr_reviews %}
   129 	</p>
   141       {{ nr_reviews }}
   130 				
   142     {% else %}
       
   143       (<i>None</i>)
       
   144     {% endif %}
       
   145     </span>
       
   146     <span class="date">Last reviewed:
       
   147     {% if last_reviewed %}
       
   148       {{ last_reviewed|date:"jS F Y h:iA" }}
       
   149     {% else %}
       
   150       (<i>Not Reviewed</i>)
       
   151     {% endif %}
       
   152     </span>
       
   153     <span class="date">Last submitted:
       
   154     {% if last_submitted %}
       
   155       {{ last_submitted|date:"jS F Y h:iA" }}
       
   156     {% else %}
       
   157       (<i>New Submission</i>)
       
   158     {% endif %} 
       
   159     </span> 
       
   160   </p>
       
   161   {% if reviews %}
       
   162   <br /><br />
       
   163   <p>
       
   164   <h2>Reviews: Comments and Scores:</h2>
       
   165   {% for review in reviews %}
       
   166     {% as_review review %}
       
   167   {% endfor %}
       
   168   </p>
       
   169   {% endif %}
   131 </div>
   170 </div>
   132 {% endblock content %}
   171 {% endblock content %}