mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
make options consistent in celery
- changes 'broadcasts' to 'broadcast' in Celery page in admin section - re-orders celery queues on admin page to be in English alphabetical order (other than priority levels) - this makes them consistent with the Flower interface - fixes #3066
This commit is contained in:
parent
c9e6dcc2d9
commit
d2b2cc0521
2 changed files with 9 additions and 9 deletions
|
@ -29,7 +29,7 @@
|
|||
</div>
|
||||
<div class="column is-4">
|
||||
<div class="notification">
|
||||
<p class="header">{% trans "Broadcasts" %}</p>
|
||||
<p class="header">{% trans "Broadcast" %}</p>
|
||||
<p class="title is-5">{{ queues.broadcast|intcomma }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -110,20 +110,20 @@ class ClearCeleryForm(forms.Form):
|
|||
queues = forms.MultipleChoiceField(
|
||||
label="Queues",
|
||||
choices=[
|
||||
(LOW, "Low prioirty"),
|
||||
(LOW, "Low priority"),
|
||||
(MEDIUM, "Medium priority"),
|
||||
(HIGH, "High priority"),
|
||||
(STREAMS, "Streams"),
|
||||
(IMAGES, "Images"),
|
||||
(SUGGESTED_USERS, "Suggested users"),
|
||||
(EMAIL, "Email"),
|
||||
(BROADCAST, "Broadcast"),
|
||||
(CONNECTORS, "Connectors"),
|
||||
(LISTS, "Lists"),
|
||||
(INBOX, "Inbox"),
|
||||
(EMAIL, "Email"),
|
||||
(IMAGES, "Images"),
|
||||
(IMPORTS, "Imports"),
|
||||
(IMPORT_TRIGGERED, "Import triggered"),
|
||||
(BROADCAST, "Broadcasts"),
|
||||
(INBOX, "Inbox"),
|
||||
(LISTS, "Lists"),
|
||||
(MISC, "Misc"),
|
||||
(STREAMS, "Streams"),
|
||||
(SUGGESTED_USERS, "Suggested users"),
|
||||
],
|
||||
widget=forms.CheckboxSelectMultiple,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue