# HG changeset patch # User neko259 # Date 2017-01-03 13:54:48 # Node ID 9acfb6641994910e99de6549e2f4e873a81fe923 # Parent dea0de5862891d5f6db92a144a380a0a03644231 Show thread OPs in the landing page instead of link and title list diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -582,3 +582,9 @@ ul { #quote-button:hover { background-color: #2d3955; } + +.landing-threads > .thread { + border-left: solid 1px #777; + border-right: solid 1px #777; +} + diff --git a/boards/templates/boards/landing.html b/boards/templates/boards/landing.html --- a/boards/templates/boards/landing.html +++ b/boards/templates/boards/landing.html @@ -2,6 +2,7 @@ {% load i18n %} {% load static %} +{% load board %} {% block head %} {{ site_name }} @@ -28,7 +29,9 @@ {% if latest_threads %} {% trans "Active threads:" %}
{% for op in latest_threads %} - {{ op.get_link_view|safe }} {{ op.get_title_or_text }} ({{ op.thread.get_sections_str|safe }}) +{{ op.today_post_count }}
+
+ {% post_view op truncated=True need_open_link=True %} +
{% endfor %} {% else %} {% trans "No active threads today." %}