Skip to content

Commit

Permalink
Add headlines for ticketing
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Dec 16, 2024
1 parent 5687ba3 commit 51ceef2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/themes/ticketing/index.vto
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
---
title: Ticketing
description: |

Some events are ticketed. Find out how many tickets we've already sold.
dev: true
---

<section>

{{ comp.oi.dashboard({
config: {
data: [
{ title: "Total orders", value: operational.summary.orders },
{ title: "Total tickets", value: operational.summary.tickets },
], title: "title",
value: "value",
note: "note",
align: true,
panels: [
{ name: "Total orders", colour: "pink", "compact-format": false },
{ name: "Total tickets", colour: "yellow", "compact-format": false },
]
}
}) }}
</section>

<section class="grid">

Expand Down
1 change: 1 addition & 0 deletions src/themes/volunteers/_partials/headlines.vto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ what we have planned.
}))
}}

{{> console.log(summaryDashboard) }}
{{ comp.oi.dashboard({
config: {
data: summaryDashboard,
Expand Down

0 comments on commit 51ceef2

Please sign in to comment.