Change templates to use +2/+1/-1/-2 voting scores (#2)
* Change review templates to reflect LCA voting scores * Change review templates to reflect LCA voting scores
This commit is contained in:
		
							parent
							
								
									fbcfd05b02
								
							
						
					
					
						commit
						4ef9664620
					
				
					 4 changed files with 24 additions and 24 deletions
				
			
		|  | @ -6,10 +6,10 @@ | ||||||
|         <th>{% trans "Speaker / Title" %}</th> |         <th>{% trans "Speaker / Title" %}</th> | ||||||
|         <th>{% trans "Category" %}</th> |         <th>{% trans "Category" %}</th> | ||||||
|         <th><i class="fa fa-comment-alt"></i></th> |         <th><i class="fa fa-comment-alt"></i></th> | ||||||
|  |         <th>{% trans "+2" %}</th> | ||||||
|         <th>{% trans "+1" %}</th> |         <th>{% trans "+1" %}</th> | ||||||
|         <th>{% trans "+0" %}</th> |  | ||||||
|         <th>{% trans "-0" %}</th> |  | ||||||
|         <th>{% trans "-1" %}</th> |         <th>{% trans "-1" %}</th> | ||||||
|  |         <th>{% trans "-2" %}</th> | ||||||
|         <th><a href="#" class="tip" title="{% trans "Your Rating" %}"><i class="fa fa-user"></i></a></th> |         <th><a href="#" class="tip" title="{% trans "Your Rating" %}"><i class="fa fa-user"></i></a></th> | ||||||
|     </thead> |     </thead> | ||||||
| 
 | 
 | ||||||
|  | @ -26,10 +26,10 @@ | ||||||
|                 </td> |                 </td> | ||||||
|                 <td>{{ proposal.track }}</td> |                 <td>{{ proposal.track }}</td> | ||||||
|                 <td>{{ proposal.comment_count }}</td> |                 <td>{{ proposal.comment_count }}</td> | ||||||
|  |                 <td>{{ proposal.plus_two }}</td> | ||||||
|                 <td>{{ proposal.plus_one }}</td> |                 <td>{{ proposal.plus_one }}</td> | ||||||
|                 <td>{{ proposal.plus_zero }}</td> |  | ||||||
|                 <td>{{ proposal.minus_zero }}</td> |  | ||||||
|                 <td>{{ proposal.minus_one }}</td> |                 <td>{{ proposal.minus_one }}</td> | ||||||
|  |                 <td>{{ proposal.minus_two }}</td> | ||||||
|                 <td>{{ proposal.user_vote|default:"" }}</td> |                 <td>{{ proposal.user_vote|default:"" }}</td> | ||||||
|             </tr> |             </tr> | ||||||
|         {% endfor %} |         {% endfor %} | ||||||
|  |  | ||||||
|  | @ -14,18 +14,18 @@ | ||||||
|             <th> |             <th> | ||||||
|                 Comments |                 Comments | ||||||
|             </th> |             </th> | ||||||
|  |             <th> | ||||||
|  |                 +2 | ||||||
|  |             </th> | ||||||
|             <th> |             <th> | ||||||
|                 +1 |                 +1 | ||||||
|             </th> |             </th> | ||||||
|             <th> |  | ||||||
|                 +0 |  | ||||||
|             </th> |  | ||||||
|             <th> |  | ||||||
|                 −0 |  | ||||||
|             </th> |  | ||||||
|             <th> |             <th> | ||||||
|                 −1 |                 −1 | ||||||
|             </th> |             </th> | ||||||
|  |             <th> | ||||||
|  |                 −2 | ||||||
|  |             </th> | ||||||
|         </tr> |         </tr> | ||||||
|         {% for reviewer in reviewers %} |         {% for reviewer in reviewers %} | ||||||
|         <tr> |         <tr> | ||||||
|  | @ -38,18 +38,18 @@ | ||||||
|             <td> |             <td> | ||||||
|                 {{ reviewer.comment_count }} |                 {{ reviewer.comment_count }} | ||||||
|             </td> |             </td> | ||||||
|  |             <td> | ||||||
|  |                 {{ reviewer.plus_two }} | ||||||
|  |             </td> | ||||||
|             <td> |             <td> | ||||||
|                 {{ reviewer.plus_one }} |                 {{ reviewer.plus_one }} | ||||||
|             </td> |             </td> | ||||||
|             <td> |  | ||||||
|                 {{ reviewer.plus_zero }} |  | ||||||
|             </td> |  | ||||||
|             <td> |  | ||||||
|                 {{ reviewer.minus_zero }} |  | ||||||
|             </td> |  | ||||||
|             <td> |             <td> | ||||||
|                 {{ reviewer.minus_one }} |                 {{ reviewer.minus_one }} | ||||||
|             </td> |             </td> | ||||||
|  |             <td> | ||||||
|  |                 {{ reviewer.minus_two }} | ||||||
|  |             </td> | ||||||
|         </tr> |         </tr> | ||||||
|         {% endfor %} |         {% endfor %} | ||||||
|     </table> |     </table> | ||||||
|  |  | ||||||
|  | @ -74,18 +74,18 @@ | ||||||
|                 <h4>{% trans "Current Results" %}</h4> |                 <h4>{% trans "Current Results" %}</h4> | ||||||
|                 <table class="table table-striped"> |                 <table class="table table-striped"> | ||||||
|                     <thead> |                     <thead> | ||||||
|  |                         <th>+2 votes</th> | ||||||
|                         <th>+1 votes</th> |                         <th>+1 votes</th> | ||||||
|                         <th>+0 votes</th> |  | ||||||
|                         <th>-0 votes</th> |  | ||||||
|                         <th>-1 votes</th> |                         <th>-1 votes</th> | ||||||
|  |                         <th>-2 votes</th> | ||||||
|                         <th>{% trans "Total Responses" %} |                         <th>{% trans "Total Responses" %} | ||||||
|                     </thead> |                     </thead> | ||||||
|                     <tbody> |                     <tbody> | ||||||
|                         <tr> |                         <tr> | ||||||
|  |                             <td>{{ proposal.plus_two }}</td> | ||||||
|                             <td>{{ proposal.plus_one }}</td> |                             <td>{{ proposal.plus_one }}</td> | ||||||
|                             <td>{{ proposal.plus_zero }}</td> |  | ||||||
|                             <td>{{ proposal.minus_zero }}</td> |  | ||||||
|                             <td>{{ proposal.minus_one }}</td> |                             <td>{{ proposal.minus_one }}</td> | ||||||
|  |                             <td>{{ proposal.minus_two }}</td> | ||||||
|                             <td>{{ proposal.total_votes }}</td> |                             <td>{{ proposal.total_votes }}</td> | ||||||
|                         </tr> |                         </tr> | ||||||
|                     </tbody> |                     </tbody> | ||||||
|  |  | ||||||
|  | @ -18,19 +18,19 @@ | ||||||
|         <div> |         <div> | ||||||
|             {% if key == "positive" %} |             {% if key == "positive" %} | ||||||
|                 <h3>Positive |                 <h3>Positive | ||||||
|                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +1 and no −1s</small></h3> |                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +2 and no −2s</small></h3> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             {% if key == "negative" %} |             {% if key == "negative" %} | ||||||
|                 <h3>Negative |                 <h3>Negative | ||||||
|                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −1 and no +1s</small></h3> |                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −2 and no +2s</small></h3> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             {% if key == "indifferent" %} |             {% if key == "indifferent" %} | ||||||
|                 <h3>Indifferent |                 <h3>Indifferent | ||||||
|                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +1 or a −1</small></h3> |                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +2 or a −2</small></h3> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             {% if key == "controversial" %} |             {% if key == "controversial" %} | ||||||
|                 <h3>Controversial |                 <h3>Controversial | ||||||
|                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +1 and −1</small></h3> |                 <small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +2 and −2</small></h3> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             {% if key == "too_few" %} |             {% if key == "too_few" %} | ||||||
|                 <h3>Too Few Reviews |                 <h3>Too Few Reviews | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Scott Bragg
						Scott Bragg