From 5b9343d77d8321e44d1ffc60769c651771dc38dd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 13 Jan 2019 11:42:01 -0600 Subject: Refactored Javascript, started on forums --- design/templates/forum/topic_list.html | 86 +++++++++++++++++++++++++--------- 1 file changed, 64 insertions(+), 22 deletions(-) (limited to 'design/templates/forum/topic_list.html') diff --git a/design/templates/forum/topic_list.html b/design/templates/forum/topic_list.html index 89a165e..5f933e9 100644 --- a/design/templates/forum/topic_list.html +++ b/design/templates/forum/topic_list.html @@ -1,4 +1,12 @@ {% extends 'base.html' %} +{% block bodyid %}body-forum{%endblock%} +{% block jsinclude %} + + +{%endblock%} {% block content %}
@@ -8,35 +16,69 @@

The goal is for users of all levels to learn and share with each other, please treat this discussion forum with the same respect you would a public park. Remember to be kind, courteous and forgiving.

+
+ +
+
+ +
+
+ + + + + + + + {% if messages %} +
    + {% for message in messages %} + + {% if 'safe' in message.tags %}{{ message|safe }}{% else %}{{ message }}{% endif %} + + {% endfor %} +
+ {% endif %} +
- - - - - + + + + - + {% for object in object_list %} - - - + + + + + + + {% endfor %}
TopicCategoryUsersRepliesViewsActivityRepliesViewsActivity
+ {% if object.statuses%}
+ +
{%endif%} + {{object.title}} + + {% if object.pinned %}
{{object.except}} + read more{%endif%} + +
+ {% for user in object.user_set.all %}avatar for {{user}}{%endfor%} + + {{object.reply_count}} + + {{object.views}} + +
-- cgit v1.2.3