Fix Wagtail article publish regressions
This commit is contained in:
@@ -145,6 +145,15 @@
|
||||
<p class="mt-2 mb-6 font-mono text-xs uppercase tracking-wider text-zinc-500">
|
||||
{{ approved_comments|length }} public comment{{ approved_comments|length|pluralize }}
|
||||
</p>
|
||||
{% if request.GET.commented %}
|
||||
<div class="mb-6 rounded-md border border-brand-cyan/20 bg-brand-cyan/10 px-4 py-3 font-mono text-sm text-brand-cyan">
|
||||
{% if request.GET.commented == "approved" %}
|
||||
Comment posted!
|
||||
{% else %}
|
||||
Your comment has been posted and is awaiting moderation.
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include "comments/_comment_list.html" %}
|
||||
<div id="comments-empty-state" class="mb-8 rounded-md border border-zinc-200 bg-zinc-50 p-4 text-center dark:border-zinc-800 dark:bg-zinc-900/40 {% if approved_comments %}hidden{% endif %}">
|
||||
|
||||
Reference in New Issue
Block a user