Skip to content

Commit

Permalink
Add override for event count
Browse files Browse the repository at this point in the history
  • Loading branch information
taz-chiles committed Jan 23, 2024
1 parent 9c33513 commit 348887a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/metrics/events/signature/_data.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
key_metrics:
signature_events:
title: Signature events
ref: headlines.total_events
ref: data_overrides.total_events
description: Total Signature programme events
colour: --l23-yellow
4 changes: 3 additions & 1 deletion docs/metrics/events/signature/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ metas:
known_limitations:
- Not all events have attendances recorded
prepare_script: scripts/metrics/events/signature/prepare.ipynb
data_overrides:
total_events: 1069
---

{% from 'macros.njk' import dateFormatter, dateFormatterNoDay %}
Expand All @@ -27,7 +29,7 @@ prepare_script: scripts/metrics/events/signature/prepare.ipynb
{% comp 'grid.' + headline_grid_style, { min_width: '40rem' } %}
{{ comp.metric.headline({
title: "Number of events", headingLevel: 2,
value: headlines.total_events | localize,
value: data_overrides.total_events | localize,
description: "Total count of public and community events hosted by LEEDS 2023.",
background: "var(--l23-cyan)"
}) | safe }}
Expand Down

0 comments on commit 348887a

Please sign in to comment.