summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-23 17:11:14 +0000
committerubq323 <ubq323>2021-06-23 17:11:14 +0000
commit0efffb90e4540d7883cdddfeeb887e271c8f065f (patch)
treeb57f8194946fc39588a8e766f93e260017edd63c /apioforum/templates
parentddc62e940d7c521801b9d00167acc0b0392e951a (diff)
many database things, not really related to subforums but it's probably better to do all these things at the same time
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/view_forum.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 926980e..cf55cfe 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -63,19 +63,19 @@
{{ ts(thread.created) }}
</div>
</div>
- {% if preview_post[thread.id] %}
+ {#{% if thread.mrp_id %}#}
<div class="listing-caption">
- {{ disp_user(preview_post[thread.id].author) }}
+ {{ disp_user(thread.mrp_author) }}
<span class="thread-preview-ts">
- {{ ts(preview_post[thread.id].created) }}
+ {{ ts(thread.mrp_created) }}
</span>
<span class="thread-preview-post">
- <a href="{{post_url(preview_post[thread.id])}}">
- {{ preview_post[thread.id].content[:500]|e }}
+ <a href="{{url_for('thread.view_thread',thread_id=thread.id)}}#post_{{thread.mrp_id}}">
+ {{ thread.mrp_content[:500]|e }}
</a>
</span>
</div>
- {% endif %}
+ {#{% endif %}#}
</div>
{%endfor%}
</div>