|
1 | 1 | HEADLINE_COLUMNS_FIELD: str = """ |
2 | | -Add up to {} number column components within this row. |
3 | | -The columns are ordered from left to right, top to bottom respectively. |
4 | | -So by moving 1 column component above the other, that component will be rendered in the column left of the other. |
| 2 | +Add up to {} number column components within this row. |
| 3 | +The columns are ordered from left to right, top to bottom respectively. |
| 4 | +So by moving 1 column component above the other, that component will be rendered in the column left of the other. |
5 | 5 | """ |
6 | 6 |
|
7 | 7 | HEADLINE_COLUMNS_IN_CHART_CARD: str = """ |
|
22 | 22 |
|
23 | 23 | NUMBERS_ROW_FIELD: str = """ |
24 | 24 | Here you can add up to {} rows within this column component. |
25 | | -Each row can be used to add a number block. |
| 25 | +Each row can be used to add a number block. |
26 | 26 | This can be a headline number, a trend number or a percentage number. |
27 | 27 | If you only add 1 row, then that block will be rendered on the upper half of the column. |
28 | 28 | And the bottom row of the column will remain empty. |
29 | 29 | """ |
30 | 30 |
|
31 | 31 | CHART_BLOCK_FIELD: str = """ |
32 | | -Add the plots required for your chart. |
33 | | -Within each plot, you will be required to add a set of fields which will be used to fetch the supporting data |
| 32 | +Add the plots required for your chart. |
| 33 | +Within each plot, you will be required to add a set of fields which will be used to fetch the supporting data |
34 | 34 | for that plot. |
35 | 35 | """ |
36 | 36 |
|
|
57 | 57 | """ |
58 | 58 | TREND_BLOCK_FIELD: str = """ |
59 | 59 | This component will display a trend number type metric. |
60 | | -This will display an arrow pointing in the direction of the metric change |
| 60 | +This will display an arrow pointing in the direction of the metric change |
61 | 61 | as well as colouring of the block to indicate the context of the change. |
62 | 62 | You can also optionally add a body of text to accompany that headline number. |
63 | 63 | E.g. "Last 7 days" |
|
90 | 90 | """ |
91 | 91 |
|
92 | 92 | TEXT_CARD: str = """ |
93 | | -This section of text will comprise this card. |
| 93 | +This section of text will comprise this card. |
94 | 94 | Note that this card will span the length of the available page width if sufficient text content is provided. |
95 | 95 | """ |
96 | 96 | BODY_FIELD: str = "The section of text which will accommodate this block." |
97 | 97 | BODY_FIELD_ABOVE_BLOCK: str = f""" |
98 | 98 | {BODY_FIELD} Note that this text will be placed above the main content of the block. |
99 | 99 | """ |
100 | 100 | HEADING_BLOCK: str = """ |
101 | | -The text you add here will be used as the heading for this section. |
| 101 | +The text you add here will be used as the heading for this section. |
102 | 102 | """ |
103 | 103 |
|
104 | 104 | CONTENT_ROW_CARDS: str = """ |
|
126 | 126 | """ |
127 | 127 |
|
128 | 128 | TREND_METRIC_FIELD: str = """ |
129 | | -The name of the trend type metric to pull data e.g. "COVID-19_headline_ONSdeaths_7daychange". |
| 129 | +The name of the trend type metric to pull data e.g. "COVID-19_headline_ONSdeaths_7daychange". |
130 | 130 | Note that only 'change' type metrics are available for selection for this field type. |
131 | 131 | """ |
132 | 132 | TREND_PERCENTAGE_METRIC_FIELD: str = """ |
133 | | -The name of the accompanying percentage trend type metric to pull data |
134 | | -e.g. "COVID-19_headline_ONSdeaths_7daypercentchange". |
| 133 | +The name of the accompanying percentage trend type metric to pull data |
| 134 | +e.g. "COVID-19_headline_ONSdeaths_7daypercentchange". |
135 | 135 | Note that only 'percent' type metrics are available for selection for this field type. |
136 | 136 | """ |
137 | 137 | CHART_TYPE_FIELD: str = """ |
138 | 138 | The name of the type of chart which you want to create e.g. bar |
139 | 139 | """ |
140 | 140 | DATE_FROM_FIELD: str = """ |
141 | | -The date from which to begin the supporting plot data. |
| 141 | +The date from which to begin the supporting plot data. |
142 | 142 | Note that if nothing is provided, a default of 1 year ago from the current date will be applied. |
143 | 143 | """ |
144 | 144 | DATE_TO_FIELD: str = """ |
145 | | -The date to which to end the supporting plot data. |
| 145 | +The date to which to end the supporting plot data. |
146 | 146 | Note that if nothing is provided, a default of the current date will be applied. |
147 | 147 | """ |
148 | 148 | SEX_FIELD: str = """ |
|
179 | 179 | """ |
180 | 180 |
|
181 | 181 | TITLE_FIELD: str = """ |
182 | | -The title to display for this component. |
| 182 | +The title to display for this component. |
183 | 183 | Note that this will be shown in the hex colour #505A5F |
184 | 184 | """ |
185 | 185 | SUB_TITLE_FIELD: str = """ |
|
216 | 216 | """ |
217 | 217 |
|
218 | 218 | PAGE_DESCRIPTION_FIELD: str = """ |
219 | | -An optional body of text which will be rendered at the top of the page. |
| 219 | +An optional body of text which will be rendered at the top of the page. |
220 | 220 | This text will be displayed after the title of the page and before any of the main content. |
221 | 221 | """ |
222 | 222 |
|
|
258 | 258 | CHART_Y_AXIS_MAXIMUM_VALUE: str = """ |
259 | 259 | This field allows you to set the last value in the chart's y-axis range. Please |
260 | 260 | note that a value provided here, which is lower than the highest value in the data will |
261 | | -be overridden and the value from the dataset will be used. |
| 261 | +be overridden and the value from the dataset will be used. |
262 | 262 | """ |
263 | 263 |
|
264 | 264 | REQUIRED_CHART_Y_AXIS: str = """ |
|
267 | 267 |
|
268 | 268 | USE_SMOOTH_LINES: str = """ |
269 | 269 | If set to true, draws the plot as a spline line, resulting in smooth curves between data points. |
270 | | -If set to false, draws the plot as a linear line, |
| 270 | +If set to false, draws the plot as a linear line, |
271 | 271 | resulting in linear point-to-point lines being drawn between data points. |
272 | 272 | This is only applicable to line-type charts. |
273 | 273 | """ |
|
308 | 308 | """ |
309 | 309 |
|
310 | 310 | GLOBAL_BANNER_IS_ACTIVE: str = """ |
311 | | -Whether to activate this banner across every page in the dashboard. |
| 311 | +Whether to activate this banner across every page in the dashboard. |
312 | 312 | Multiple banners can be active across the dashboard. |
313 | 313 | Note: Warning banners are prioritised across the dashboard and will be displayed above information banners. |
314 | 314 | """ |
315 | 315 |
|
316 | 316 | TAG_MANAGER_EVENT_ID_FIELD: str = """ |
317 | | -The ID to associate with this component. |
| 317 | +The ID to associate with this component. |
318 | 318 | This allows for tracking of events when users interact with this component. |
319 | 319 | Note that changing this multiple times will result in the recording of different groups of events. |
320 | 320 | """ |
|
344 | 344 | """ |
345 | 345 |
|
346 | 346 | HEADLINE_DATE_PREFIX: str = """ |
347 | | -This is the accompanying text for headline column dates Eg: `Up to` 27 Oct 2024 |
| 347 | +This is the accompanying text for headline column dates Eg: `Up to` 27 Oct 2024 |
348 | 348 | """ |
349 | 349 |
|
350 | 350 | CHART_DATE_PREFIX: str = """ |
|
370 | 370 | """ |
371 | 371 |
|
372 | 372 | ANNOUNCEMENT_BANNER_IS_ACTIVE: str = """ |
373 | | -Whether to activate this banner only on this individual page. |
374 | | -Note that multiple page banners can be active on one page. Consider |
| 373 | +Whether to activate this banner only on this individual page. |
| 374 | +Note that multiple page banners can be active on one page. Consider |
375 | 375 | carefully if you need multiple announcements to be active at once as |
376 | 376 | this can have an impact on user experience of the dashboard page. |
377 | 377 | """ |
|
398 | 398 |
|
399 | 399 | GLOBAL_FILTER_COMPONENT: str = """ |
400 | 400 | The global filter component enables a user of the dashboard to create a variable number of filters |
401 | | -which can be applied across multi components on a dashboard page. This CMS component can be used to configure |
| 401 | +which can be applied across multi components on a dashboard page. This CMS component can be used to configure |
402 | 402 | those options. |
403 | 403 | """ |
404 | 404 |
|
405 | 405 | GLOBAL_FILTER_TIME_RANGE: str = """ |
406 | 406 | This mandatory time range is used to set the time range that a user can navigate through when |
407 | 407 | interacting with a filter linked chart or map card. Eg. Year selection can include a range of |
408 | 408 | years as dates that can be displayed and navigated between. |
409 | | -When entering multiple periods in the time filter each proceeding `date_from` must be 1 day after the `date_to` |
| 409 | +When entering multiple periods in the time filter each proceeding `date_from` must be 1 day after the `date_to` |
410 | 410 | that came before it to maintain sequence order. |
411 | 411 | """ |
412 | 412 |
|
413 | 413 | GLOBAL_FILTER_TIME_RANGE_DATE_FROM_FIELD: str = """ |
414 | 414 | This field is used to provide a start date for the current time range option. Its date |
415 | | -must be earlier than the date provided for the corresponding `date_to`field. |
| 415 | +must be earlier than the date provided for the corresponding `date_to`field. |
416 | 416 | """ |
417 | 417 |
|
418 | 418 | GLOBAL_FILTER_TIME_RANGE_DATE_TO_FIELD: str = """ |
|
500 | 500 |
|
501 | 501 | FILTER_LINKED_SUB_PLOT_CHART_TEMPLATE: str = """ |
502 | 502 | This filter linked sub plot chart can be used to display metric data configured through a data filter |
503 | | -in the global filter component. |
504 | | -This template will render a new chart for each geography selected by the user |
| 503 | +in the global filter component. |
| 504 | +This template will render a new chart for each geography selected by the user |
505 | 505 | for the selected entities according to the data filter. |
506 | 506 | """ |
507 | 507 |
|
508 | 508 | FILTER_LINKED_SUB_PLOT_CHART_LEGEND_TITLE: str = """ |
509 | | -This legend title will be used for the title of the sub plot chart legends. |
| 509 | +This legend title will be used for the title of the sub plot chart legends. |
510 | 510 | Eg. the colours associated with the geographies from global filter. |
511 | 511 | """ |
512 | 512 |
|
513 | 513 | FILTER_LINKED_TIME_SERIES_CHART_TEMPLATE: str = """ |
514 | 514 | This filter linked time series chart can be used to display metric data configured through a data filter |
515 | | -in the global filter component. |
516 | | -This template will render a new chart for each geography selected by the user |
| 515 | +in the global filter component. |
| 516 | +This template will render a new chart for each geography selected by the user |
517 | 517 | for the selected entities according to the data filter. |
518 | 518 | """ |
519 | 519 |
|
520 | 520 | FILTER_LINKED_TIME_SERIES_CHART_LEGEND_TITLE: str = """ |
521 | | -This legend title will be used for the title of the time series chart legends. |
| 521 | +This legend title will be used for the title of the time series chart legends. |
522 | 522 | Eg. the colours associated with the selected data entities from global filter. |
523 | 523 | """ |
524 | 524 |
|
|
588 | 588 | PAGE_CLASSIFICATION: str = """ |
589 | 589 | The classification level of all data on this page (only applies to non-public pages). Defaults to `Official-Sensitive`. |
590 | 590 | """ |
| 591 | + |
| 592 | +SECTION_FOOTER_BLOCKS: str = """ |
| 593 | +This is an optional footer for content sections to allow additional supporting information to be linked too. (E.g. a link to furhter information about how we define an outbreak) |
| 594 | +""" |
| 595 | +SECTION_FOOTER: str = """ |
| 596 | +This is an optional footer for a section to provide a link to further information. |
| 597 | +""" |
| 598 | +SECTION_FOOTER_BADGE_LABEL: str = """ |
| 599 | +This is the label used for the a section footer link badge" |
| 600 | +""" |
| 601 | +SECTION_FOOTER_LINK_TEXT: str = """ |
| 602 | +This is the text to displayed along side a link in a the sections footer link. |
| 603 | +""" |
| 604 | +SECTION_FOOTER_LINK: str = """ |
| 605 | +This is a link component that allows the user to setup an internal or external link along with a short description of the link's content. |
| 606 | +""" |
0 commit comments