0
+<% render :layout => 'forums' do %>
0
+ <% content_for :h1 do %>
0
+ <%= link_to 'alonetone Forums', forums_path %> <span class="arrow">→</span> <%= @forum.name %>
0
-<%= link_to 'Edit', edit_forum_path(@forum) %> |
0
-<%= link_to 'Back', forums_path %>
0
+ <% @page_title = 'alonetone forums - ' + @forum.name %>
0
+ <% content_for :extras do %>
0
+ <%= feed_icon_tag @forum.name, formatted_forum_posts_path(@forum, :atom) %>
0
+ <%= pluralize @forum.topics.size, 'topics' %>,
0
+ <%= pluralize @forum.posts.size, 'posts' %>
0
+ <p style="float:right; margin-top:0;"><%= link_to 'New topic', new_forum_topic_path(@forum), :class => "button new" %></p>
0
+ <% if @topics.total_pages > 1 -%>
0
+ <% content_for :pagination do %>
0
+ <%= pagination @topics %>
0
+ <table border="0" cellspacing="0" cellpadding="0" class="wide topics">
0
+ <th class="la" colspan="2"><%= 'Topic'%></th>
0
+ <th width="1%"><%= 'Posts'%></th>
0
+ <th width="1%"><%= 'Views'%></th>
0
+ <th class="la"><%= 'Last post'%></th>
0
+ <% for topic in @topics %>
0
+ <td style="padding:5px; width:16px;" class="c1">
0
+ post = ", this topic is locked."
0
+ <% if recent_topic_activity(topic) %>
0
+ <%= image_tag "forum/unread.png", :class => "icon green", :title => "Recent activity #{post}" %>
0
+ <%= image_tag "forum/read.png", :class => "icon grey", :title => "No recent activity #{post}" %>
0
+ <%= "Sticky: <strong>" if topic.sticky? %>
0
+ <%= topic_title_link (topic), :class => "entry-title", :rel => "bookmark" %>
0
+ <%= "</strong>" if topic.sticky? %>
0
+ <% if topic.paged? -%>
0
+ <small><%= link_to 'last'[], forum_topic_path(@forum, topic, :page => topic.last_page) %></small>
0
+ <td class="ca inv stat"><%= topic.posts.size %></td>
0
+ <td class="ca inv stat"><%= number_with_delimiter(topic.hits) %></td>
0
+ <abbr class="updated" title="<%= topic.last_updated_at.xmlschema %>"><%= (topic.last_updated_at) %></abbr>
0
+ <span class="author"><strong class="fn"><%=h topic.last_user.name if topic.last_user %></strong></span>
0
+ <span><%= link_to 'view', forum_topic_path(@forum, topic, :page => topic.last_page, :anchor => "posts-#{topic.last_post_id}") %></span>
0
+ <%= next_page @topics %>
0
+ <%= pagination @topics %>
0
+ <p><%= link_to 'New topic', new_forum_topic_path(@forum), :class => "button new" %></p>
0
\ No newline at end of file