diff --git a/core/templates/modals/drilldown.html b/core/templates/modals/drilldown.html index 9466a8c..9927e0d 100644 --- a/core/templates/modals/drilldown.html +++ b/core/templates/modals/drilldown.html @@ -104,6 +104,6 @@ - + {# #} diff --git a/core/templates/ui/drilldown/table_results_partial.html b/core/templates/ui/drilldown/table_results_partial.html index 9c13551..bfe764e 100644 --- a/core/templates/ui/drilldown/table_results_partial.html +++ b/core/templates/ui/drilldown/table_results_partial.html @@ -16,30 +16,38 @@ {% if column.name in show and not column.name in hide %} {% block table.thead.th %} - {% if column.orderable %} - {% if column.is_ordered %} - {% is_descending column.order_by as descending %} - {% if descending %} - - {% else %} - - {% endif %} +
+ {% if column.orderable %} +
+ {% if column.is_ordered %} + {% is_descending column.order_by as descending %} + {% if descending %} + + {% else %} + + {% endif %} + {% else %} + + {% endif %} +
+
+ + {{ column.header }} + +
{% else %} - +
+ {{ column.header }} +
{% endif %} - - {{ column.header }} - - {% else %} - {{ column.header }} - {% endif %} +
{% endblock table.thead.th %} {% endif %} @@ -174,7 +182,7 @@ {% endif %} - {% if row.cells.num_chans is not None %} + {% if row.cells.num_chans != '—' %}
{{ row.cells.num_chans }} @@ -185,19 +193,23 @@ {% elif column.name == 'channel' %} -
- - {{ cell }} - - {% if row.cells.num_users is not None %} -
- - {{ row.cells.num_users }} - -
- {% endif %} -
+ {% if cell != '—' %} +
+ + {{ cell }} + + {% if row.cells.num_users != '—' %} +
+ + {{ row.cells.num_users }} + +
+ {% endif %} +
+ {% else %} + {{ cell }} + {% endif %} {% elif column.name == 'net' %}