Fix admin link
This commit is contained in:
@@ -379,7 +379,7 @@
|
|||||||
|
|
||||||
{% if (object.is_from_outbox or is_admin) and object.replies_count %}
|
{% if (object.is_from_outbox or is_admin) and object.replies_count %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% if is_admin and not object.is_from_outbox %}{{ url_for("admin_object") }}?ap_id={% endif %}{{ object.url }}"><strong>{{ object.replies_count }}</strong> repl{{ object.replies_count | pluralize("y", "ies") }}</a>
|
<a href="{% if is_admin and not object.is_from_outbox %}{{ url_for("admin_object") }}?ap_id={{ object.ap_id }}{% else %}{{ object.url }}{% endif %}"><strong>{{ object.replies_count }}</strong> repl{{ object.replies_count | pluralize("y", "ies") }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user