diff --git a/abuse/migrations/0007_alter_abusereport_status.py b/abuse/migrations/0007_alter_abusereport_status.py new file mode 100644 index 00000000..4532f6b0 --- /dev/null +++ b/abuse/migrations/0007_alter_abusereport_status.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.11 on 2024-05-06 13:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('abuse', '0006_remove_abusereport_date_deleted'), + ] + + operations = [ + migrations.AlterField( + model_name='abusereport', + name='status', + field=models.PositiveSmallIntegerField(choices=[(1, 'Untriaged'), (2, 'Confirmed'), (3, 'Resolved')], default=1), + ), + ] diff --git a/abuse/models.py b/abuse/models.py index a508e0d9..1ec5113a 100644 --- a/abuse/models.py +++ b/abuse/models.py @@ -29,8 +29,8 @@ class AbuseReport(CreatedModifiedMixin, TrackChangesMixin, models.Model): STATUSES = Choices( ('UNTRIAGED', 1, 'Untriaged'), - ('VALID', 2, 'Valid'), - ('SUSPICIOUS', 3, 'Suspicious'), + ('CONFIRMED', 2, 'Confirmed'), + ('RESOLVED', 3, 'Resolved'), ) # NULL if the reporter is anonymous. diff --git a/common/templates/common/components/status.html b/common/templates/common/components/status.html index cc59facb..d8e10276 100644 --- a/common/templates/common/components/status.html +++ b/common/templates/common/components/status.html @@ -29,17 +29,17 @@ {{ status }} - {% elif 'untriaged' in status.lower %} + {% elif 'confirmed' in status.lower %}