Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tabbycat/results/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ def speakers_as_dicts(self, sheet, side_dict, side, pos_names):
"speaker": self.get_speaker(side, pos),
"score": sheet.get_score(side, pos),
"rank": sheet.get_speaker_rank(side, pos),
"criteria": sheet.criteria_scores[side][pos],
})


Expand Down
12 changes: 12 additions & 0 deletions tabbycat/results/templates/public_ballot_set.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ <h4 class="card-title">
{{ position.rank }}
</span>
{% endif %}
{% if position.criteria %}
<ul>
{% for criterion, score in position.criteria.items %}
<li>
<strong>{{ criterion.name }}</strong>
<span class="badge mr-2 badge-secondary float-right">
{{ score }}
</span>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
<li class="list-group-item list-group-item-{{ team.win_style }}">
Expand Down