Homepage: Preload review information in queries
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<h3 class="card-header">{{ self.title() }}</h3>
|
||||
<div class="card-body markdown">
|
||||
{{ thread.replies[0].comment | markdown }}
|
||||
{{ thread.first_reply.comment | markdown }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>{{ _("Deleting is permanent") }}</p>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if r == r.thread.replies[0] %}
|
||||
{% if r == r.thread.first_reply %}
|
||||
<a class="badge badge-primary" href="{{ r.thread.getViewURL() }}">
|
||||
{{ r.thread.title }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user