mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
activity: Add totals row as sticky footer to activity charts.
Updates the total row for the installation and remote activity charts to be in the table footer. Makes the footer class sticky to the bottom of the view so that it is always visible on the chart. Also, updates the installation activity column for revenue to be formatted as a dollar string, since this formatting was being applied in the updated total row.
This commit is contained in:
committed by
Tim Abbott
parent
5786a38cec
commit
bfd9eec4b3
@@ -23,4 +23,11 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% if data.totals %}
|
||||
<tfoot class="activity-foot">
|
||||
{% for total in data.totals %}
|
||||
<td>{{ total }}</td>
|
||||
{% endfor %}
|
||||
</tfoot>
|
||||
{% endif %}
|
||||
</table>
|
||||
|
||||
@@ -121,5 +121,9 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
<tfoot class="activity-foot">
|
||||
{% for total in totals %}
|
||||
<td>{{ total }}</td>
|
||||
{% endfor %}
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user