Skip to content

Commit d6683b1

Browse files
Simplify the reporting page
Keep only the top cards which are based on the Patient::ProgrammeStatus (newer view), and the monthly vaccinations table.
1 parent fe7be04 commit d6683b1

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

mavis/reporting/templates/vaccinations.jinja

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -48,52 +48,6 @@
4848
}) }}
4949
</div>
5050

51-
{{ heading({
52-
"text": "Vaccinated in the current school year",
53-
"level": 2,
54-
"size": "s"
55-
}) }}
56-
57-
<div class="nhsuk-grid-row app-card-group nhsuk-card-group">
58-
{{ app_dashboard_card({
59-
"classes": "nhsuk-grid-column-one-third",
60-
"heading": "Vaccinated by " ~ team.name,
61-
"description": data["vaccinated_by_sais_percentage"] | percentage,
62-
"caption": data["vaccinated_by_sais"] | format_child_count,
63-
}) }}
64-
65-
{{ app_dashboard_card({
66-
"classes": "nhsuk-grid-column-one-third",
67-
"heading": "Vaccinated elsewhere (self-reported)",
68-
"description": data["vaccinated_elsewhere_declared_percentage"] | percentage,
69-
"caption": data["vaccinated_elsewhere_declared"] | format_child_count,
70-
}) }}
71-
72-
{{ app_dashboard_card({
73-
"classes": "nhsuk-grid-column-one-third",
74-
"heading": "Vaccinated elsewhere (confirmed)",
75-
"description": data["vaccinated_elsewhere_recorded_percentage"] | percentage,
76-
"caption": data["vaccinated_elsewhere_recorded"] | format_child_count,
77-
}) }}
78-
</div>
79-
80-
{% if current_filters.programme != "flu" %}
81-
{{ heading({
82-
"text": "Vaccinated before this school year",
83-
"level": 2,
84-
"size": "s"
85-
}) }}
86-
87-
<div class="nhsuk-grid-row app-card-group nhsuk-card-group">
88-
{{ app_dashboard_card({
89-
"classes": "nhsuk-grid-column-full",
90-
"heading": "Vaccinated in all settings",
91-
"description": data["vaccinated_previously_percentage"] | percentage,
92-
"caption": data["vaccinated_previously"] | format_child_count,
93-
}) }}
94-
</div>
95-
{% endif %}
96-
9751
{% set rows = [] %}
9852
{% for row in data.monthly_vaccinations_given %}
9953
{% set _ = rows.append([

0 commit comments

Comments
 (0)