##// END OF EJS Templates
Show thread catalog at the landing page
neko259 -
r1794:9ebc7eed default
parent child Browse files
Show More
@@ -173,7 +173,7 b' textarea, input {'
173 filter: invert(100%);
173 filter: invert(100%);
174 }
174 }
175
175
176 .landing-tags, .landing-threads, .landing-images {
176 .landing-tags, .landing-images {
177 max-width: 800px;
177 max-width: 800px;
178 margin-left: auto;
178 margin-left: auto;
179 margin-right: auto;
179 margin-right: auto;
@@ -183,3 +183,13 b' textarea, input {'
183 text-align: center;
183 text-align: center;
184 }
184 }
185
185
186 .landing-threads {
187 display: table;
188 margin-left: auto;
189 margin-right: auto;
190 }
191
192 .landing-threads > .thread-short {
193 display: inline-block;
194 }
195
@@ -29,8 +29,15 b''
29 {% if latest_threads %}
29 {% if latest_threads %}
30 {% trans "Active threads:" %}<br />
30 {% trans "Active threads:" %}<br />
31 {% for op in latest_threads %}
31 {% for op in latest_threads %}
32 <div class="thread">
32 <div class="thread-short gallery_image">
33 {% post_view op truncated=True need_open_link=True %}
33 {% for attachment in op.attachments.all %}
34 {{ attachment.get_view|safe }}
35 {% endfor %}
36 {{ op.get_title_or_text }}
37 <br />
38 {{ op.thread.get_sections_str|safe }}
39 <br />
40 {{ op.get_link_view|safe }} +{{ op.today_post_count }}
34 </div>
41 </div>
35 {% endfor %}
42 {% endfor %}
36 {% else %}
43 {% else %}
General Comments 0
You need to be logged in to leave comments. Login now