##// END OF EJS Templates
Show thread OPs in the landing page instead of link and title list
neko259 -
r1793:9acfb664 default
parent child Browse files
Show More
@@ -582,3 +582,9 b' ul {'
582 #quote-button:hover {
582 #quote-button:hover {
583 background-color: #2d3955;
583 background-color: #2d3955;
584 }
584 }
585
586 .landing-threads > .thread {
587 border-left: solid 1px #777;
588 border-right: solid 1px #777;
589 }
590
@@ -2,6 +2,7 b''
2
2
3 {% load i18n %}
3 {% load i18n %}
4 {% load static %}
4 {% load static %}
5 {% load board %}
5
6
6 {% block head %}
7 {% block head %}
7 <title>{{ site_name }}</title>
8 <title>{{ site_name }}</title>
@@ -28,7 +29,9 b''
28 {% if latest_threads %}
29 {% if latest_threads %}
29 {% trans "Active threads:" %}<br />
30 {% trans "Active threads:" %}<br />
30 {% for op in latest_threads %}
31 {% for op in latest_threads %}
31 {{ op.get_link_view|safe }} {{ op.get_title_or_text }} ({{ op.thread.get_sections_str|safe }}) +{{ op.today_post_count }}<br />
32 <div class="thread">
33 {% post_view op truncated=True need_open_link=True %}
34 </div>
32 {% endfor %}
35 {% endfor %}
33 {% else %}
36 {% else %}
34 {% trans "No active threads today." %}
37 {% trans "No active threads today." %}
General Comments 0
You need to be logged in to leave comments. Login now