diff --git a/app/static/css/table.css b/app/static/css/table.css index 4445169..a8c479a 100644 --- a/app/static/css/table.css +++ b/app/static/css/table.css @@ -61,3 +61,13 @@ table.topiclist th > td:last-child, table.topiclist tr > td:last-child { width: 20%; text-align: center; } + + +/* Thread table */ + +table.thread { + width: 100%; +} +table.thread td.member { + width: 20%; +} diff --git a/app/templates/forum/topic.html b/app/templates/forum/topic.html index 1afe3b4..78a9f27 100644 --- a/app/templates/forum/topic.html +++ b/app/templates/forum/topic.html @@ -1,23 +1,33 @@ {% extends "base/base.html" %} {% import "widgets/editor.html" as widget_editor %} +{% import "widgets/member.html" as widget_member %} {% block title %} -Forum de Planète Casio »
{{ widget_member.profile(t.author ) }} | +{{ t.thread.top_comment.text }} | +
{{ widget_member.profile(c.author ) }} | +{{ c.text }}
{% elif i != 0 %}
Ce message est le top comment
{% endif %}
+ |
+