forked from mirrors/bookwyrm
Update and indicate edit status
This commit is contained in:
parent
175df2181c
commit
01911d3b23
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,9 @@
|
|||
</span>
|
||||
|
||||
{% include "snippets/status/header_content.html" %}
|
||||
{% if status.edited %}
|
||||
<small>(edited)</small>
|
||||
{% endif %}
|
||||
</h3>
|
||||
<p class="is-size-7 is-flex is-align-items-center">
|
||||
<a href="{{ status.remote_id }}{% if status.user.local %}#anchor-{{ status.id }}{% endif %}">{{ status.published_date|published_date }}</a>
|
||||
|
|
|
@ -60,6 +60,7 @@ class CreateStatus(View):
|
|||
models.Status.objects.select_subclasses(), id=existing_status_id
|
||||
)
|
||||
existing_status.raise_not_editable(request.user)
|
||||
existing_status.edited = True
|
||||
|
||||
status_type = status_type[0].upper() + status_type[1:]
|
||||
|
||||
|
|
Loading…
Reference in a new issue