Skip to content

Commit 569b4e4

Browse files
committed
Renamed 'Active' -> 'Ongoing'.
1 parent 9bcaa04 commit 569b4e4

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Django 5.0.6 on 2024-07-18 07:11
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('signals', '0021_rename_severenity_pyramid_rungs_signal_severity_pyramid_rungs_and_more'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='signal',
15+
name='active',
16+
field=models.BooleanField(default=False, help_text='Ongoing'),
17+
),
18+
migrations.AlterField(
19+
model_name='signal',
20+
name='severity_pyramid_rungs',
21+
field=models.CharField(choices=[('population', 'Population'), ('infected', 'Infected'), ('symptomatic', 'Symptomatic'), ('outpatient visit', 'Outpatient / ED'), ('ascertained (case)', 'Ascertained (case)'), ('hospitalized', 'Hospitalized'), ('icu', 'ICU'), ('dead', 'Dead')], help_text='Severity Pyramid Rungs', max_length=128, null=True),
22+
),
23+
]

src/signals/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ActiveChoices(models.TextChoices):
5353
"""
5454
A class representing choices for active signals.
5555
"""
56-
ACTIVE = True, _('Current Surveillance Only')
56+
ACTIVE = True, _('Ongoing Surveillance Only')
5757

5858

5959
class SeverityPyramidRungsChoices(models.TextChoices):
@@ -319,7 +319,7 @@ class Signal(TimeStampedModel):
319319
null=True
320320
)
321321
active: models.BooleanField = models.BooleanField(
322-
help_text=_('Active'),
322+
help_text=_('Ongoing'),
323323
default=False
324324
)
325325
short_description: models.TextField = models.TextField(

src/templates/signals/signal_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ <h5>Signals with same base</h5>
202202
<thead>
203203
<tr>
204204
<th scope="col">Name</th>
205-
<th scope="col">Active</th>
205+
<th scope="col">Ongoing</th>
206206
<th scope="col">Data Source</th>
207207
<th scope="col">Description</th>
208208
<th scope="col">Geographic Scope</th>

src/templates/signals/signals.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ <h2 class="accordion-header" id="flush-heading_id_signal_availability">
302302
<tr>
303303
<th scope="col"></th>
304304
<th scope="col">Name</th>
305-
<th scope="col">Active</th>
305+
<th scope="col">Ongoing</th>
306306
<th scope="col">Data Source</th>
307307
<th scope="col">Description</th>
308308
<th scope="col">Geographic Scope</th>
@@ -493,4 +493,4 @@ <h2 class="accordion-header" id="flush-heading_id_signal_availability">
493493
});
494494
</script>
495495

496-
{% endblock %}
496+
{% endblock %}

0 commit comments

Comments
 (0)