Updates wording on content warning field

This commit is contained in:
Mouse Reeve 2022-03-10 09:16:50 -08:00
parent bcd83ee802
commit cc2b774fb5
2 changed files with 3 additions and 5 deletions

View file

@ -8,14 +8,14 @@
<span>
{% trans "Include spoiler alert" %}
</span>
<span class="details-close icon icon-plus" aria-hidden="true"></span>
<span class="details-close icon icon-x" aria-hidden="true"></span>
</summary>
<label
class="label"
for="id_content_warning_{{ uuid }}{{ local_uuid }}"
>
{% trans "Content warning:" %}
{% trans "Spoilers/content warnings:" %}
</label>
<div class="control">
<input

View file

@ -85,9 +85,7 @@ class CreateStatus(View):
if hasattr(status, "quote"):
status.raw_quote = status.quote
if not status.sensitive and status.content_warning:
# the cw text field remains populated when you click "remove"
status.content_warning = None
status.sensitive = status.content_warning not in [None, ""]
status.save(broadcast=False)
# inspect the text for user tags