Do event table color logic at python level

This commit is contained in:
2020-08-31 13:45:32 +01:00
parent 689124a891
commit 945e521feb
4 changed files with 18 additions and 15 deletions

View File

@@ -12,7 +12,7 @@
</thead>
<tbody>
{% for event in events %}
<tr {% include 'partials/event_table_colour.html' %} id="event_row">
<tr class="{{event.status_color}}" id="event_row">
<!---Number-->
<th scope="row" id="event_number">{{ event.display_id }}</th>
<!--Dates-->