Skip to content

Commit

Permalink
show topic subject in moderation queue if post is not topic.head
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Feb 26, 2025
1 parent 5a7cfd9 commit fc8b157
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ <h3 class="m-0 card-title h5">{% trans "Moderation queue" %}</h3>
<table class="post-data-table">
<tr>
<td class="post-name">
<a href="{% url 'forum_moderation:queued_post' post.pk %}" class="post-name-link">{{ post.subject }}</a>
<a href="{% url 'forum_moderation:queued_post' post.pk %}" class="post-name-link">
{% if post.subject %}
{{ post.subject }}
{% else %}
{{ post.topic.subject }}
{% endif %}
</a>
<div>
<div class="post-created">
{% if post.poster %}
Expand Down

0 comments on commit fc8b157

Please sign in to comment.