Skip to content

Commit

Permalink
a bit of customization for datahub stats
Browse files Browse the repository at this point in the history
  • Loading branch information
toavina committed Aug 30, 2024
1 parent 1c3e6ca commit a0003b6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% set stats = h.get_datahub_stats(config_data = [{'label': 'Something else', 'value': 0}]) %}
{% set default_stats = h.get_datahub_stats(config_data = [{'label': 'Something else', 'value': 0}]) %}

{% set stats = stats | default(default_stats) %}

{% block data_rect %}
<div class="data-hub-stats col-lg-6 col-sm-12 col-xs-12">
{% for i in range(0, stats|length, 2) %}
<div class="row">
Expand All @@ -16,3 +19,4 @@
</div>
{% endfor %}
</div>
{% endblock %}

0 comments on commit a0003b6

Please sign in to comment.