diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-08-25 18:20:45 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-08-25 18:20:45 +0100 |
| commit | 36000b159273d06aba3fb56eab2cd78099b7e54a (patch) | |
| tree | 57a7289704b2cb9d455deb10862dfd146b20c0b2 /app/templates/packages | |
| parent | b296b9b299fa4d07bedc25c791d1a039d4b9fb72 (diff) | |
| download | cheatdb-36000b159273d06aba3fb56eab2cd78099b7e54a.tar.xz | |
Add list of relevant forum topics to last page of results
Diffstat (limited to 'app/templates/packages')
| -rw-r--r-- | app/templates/packages/list.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/templates/packages/list.html b/app/templates/packages/list.html index 0ce5c90..53ffac0 100644 --- a/app/templates/packages/list.html +++ b/app/templates/packages/list.html @@ -37,4 +37,12 @@ <li>{{ page }} / {{ page_max }}</li> {% if next_url %}<li><a href="{{ next_url }}">Next</a></li> {% endif %} </ul> + + {% if topics %} + <h2 style="margin-top:2em;">More content from the forums</h2> + + {% from "macros/topics.html" import render_topics %} + {{ render_topics(topics, current_user) }} + {% endif %} + {% endblock %} |
