implemented last-forum-read-at

This commit is contained in:
albert
2011-08-23 17:11:21 -04:00
parent e3a9614930
commit 124403a921
12 changed files with 51 additions and 16 deletions

View File

@@ -1 +0,0 @@
<%= @forum_topic.presenter(@forum_posts).pagination_html(self) %>

View File

@@ -22,7 +22,13 @@
<% end %>
</tbody>
</table>
<%= numbered_paginator(@forum_topics) %>
</div>
</div>
<%= render "secondary_links" %>
<%= render "secondary_links" %>
<%= content_for(:html_header) do %>
<meta name="last-forum-read-at" content="<%= CurrentUser.last_forum_read_at.to_date %>">
<% end %>

View File

@@ -7,7 +7,8 @@
<% end %>
<%= render "forum_posts/listing", :forum_posts => @forum_posts %>
<%= render "paginator" %>
<%= numbered_paginator(@forum_posts) %>
</div>
</div>