Show More
@@ -262,6 +262,9 b' class Thread(models.Model):' | |||
|
262 | 262 | def get_required_tags(self): |
|
263 | 263 | return self.get_tags().filter(required=True) |
|
264 | 264 | |
|
265 | def get_sections_str(self): | |
|
266 | return Tag.objects.get_tag_url_list(self.get_required_tags()) | |
|
267 | ||
|
265 | 268 | def get_replies_newer(self, post_id): |
|
266 | 269 | return self.get_replies().filter(id__gt=post_id) |
|
267 | 270 |
@@ -19,12 +19,14 b'' | |||
|
19 | 19 | </div> |
|
20 | 20 | {% endfor %} |
|
21 | 21 | </div> |
|
22 | <br /> | |
|
22 | 23 | <div class="landing-tags"> |
|
23 | 24 | {{ section_str|safe }} |
|
24 | 25 | </div> |
|
26 | <br /> | |
|
25 | 27 | <div class="landing-threads"> |
|
26 | 28 | {% for op in latest_threads %} |
|
27 |
|
|
|
29 | {{ op.get_link_view|safe }} {{ op.get_title_or_text }} ({{ op.thread.get_sections_str|safe }})<br /> | |
|
28 | 30 | {% endfor %} |
|
29 | 31 | </div> |
|
30 | 32 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now