mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Questions: Express percentage of tickets (Z#23196542) (#5239)
* Questions: Express percentage of tickets (Z#23196542) * add missing td for sum --------- Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -89,7 +89,8 @@
|
||||
<tr>
|
||||
<th>{% trans "Answer" %}</th>
|
||||
<th class="text-right">{% trans "Count" %}</th>
|
||||
<th class="text-right">{% trans "Percentage" %}</th>
|
||||
<th class="text-right">{% trans "% of answers" %}</th>
|
||||
<th class="text-right">{% trans "% of tickets" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -102,6 +103,7 @@
|
||||
</td>
|
||||
<td class="text-right">{{ stat.count }}</td>
|
||||
<td class="text-right">{{ stat.percentage|floatformat:1 }} %</td>
|
||||
<td class="text-right">{{ stat.percentage_attendees|floatformat:1 }} %</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -110,6 +112,7 @@
|
||||
<td><strong>{% trans "Sum" %}</strong></td>
|
||||
<td class="text-right"><strong>{{ total }}</strong></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user