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
commitcfb2c5ef6582e51ae9cfdfff35e12b5b7fdc24fb (patch)
tree88df0d7004d73e113f6f9c95c599bd27ff91110f /src/templates
parent44de44ac6a3879c78b7e31d7e460bb0125275237 (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>