Merge branch 'feature/red_scale' into 'master'
CERN COVID19 level Closes #235 See merge request cara/cara!315
This commit is contained in:
commit
6efa34a506
1 changed files with 4 additions and 4 deletions
|
|
@ -308,10 +308,10 @@ class ReportGenerator:
|
|||
context['permalink'] = generate_permalink(base_url, self.calculator_prefix, form)
|
||||
context['calculator_prefix'] = self.calculator_prefix
|
||||
context['scale_warning'] = {
|
||||
'level': 'orange-3',
|
||||
'incidence_rate': 'somewhere in between 25 and 100 new cases per 100 000 inhabitants',
|
||||
'onsite_access': 'of about 5000',
|
||||
'threshold': ''
|
||||
'level': 'red-4',
|
||||
'incidence_rate': 'higher or equal to 100 new cases per 100 000 inhabitants',
|
||||
'onsite_access': 'lower than 4000',
|
||||
'threshold': '5%'
|
||||
}
|
||||
return context
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue