summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-03-24 21:38:02 -0700
committerJesse Morgan <jesse@jesterpm.net>2014-03-31 19:39:30 -0700
commitadba5974bae4da0def1f13d47cfcf28a37e3cf7a (patch)
treee660c0090f942d4ac846666b0aabdfe83ea020e9 /src/templates
parentbe16eedfb3570da2dcd3975948419ecc3d996253 (diff)
Enabling the Feed and various bug fixes.
* Fixing thread ordering. * Adding a limit of 5 threads per topic. * Changing frontend /account references to UserRecord.
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/templates/communityfeed.ftl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/templates/templates/communityfeed.ftl b/src/templates/templates/communityfeed.ftl
index 7c68771..71b33bc 100644
--- a/src/templates/templates/communityfeed.ftl
+++ b/src/templates/templates/communityfeed.ftl
@@ -2,7 +2,8 @@
<div id="thefeed">
<h2>Discussion Forum</h2>
- <#assign threads = feeddata.getThreads(chapter)>
+ <#assign max_threads = 5>
+ <#assign threads = feeddata.getThreads(chapter, max_threads)>
<#list threads as thread>
<#assign messages = feeddata.getMessages(chapter, thread.id)>
<article>