Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 173
- Log:
Updated to latest release of Beast according to the "getting started with
Beast" guide at:http://beast.caboo.se/forums/1/topics/381
This check-in includes frozen Edge Rails and has the beginnings of
configuration for the ROOL site included.
- Author:
- rool
- Date:
- Fri Mar 02 15:59:12 +0000 2007
- Size:
- 3329 Bytes
1 | <% content_for :right do %> |
2 | |
3 | <% unless @forum.description.blank? %> |
4 | <%= @forum.description_html %> |
5 | <hr /> |
6 | <% end %> |
7 | |
8 | <h5 style="margin-bottom:1.0em;">Moderators</h5> |
9 | |
10 | <% if @forum.moderators.any? -%> |
11 | <ul class="flat" style="margin-top:1em;"> |
12 | <% @forum.moderators.each do |user| -%> |
13 | <li><%= link_to user.display_name, user_path(user) %></li> |
14 | <% end -%> |
15 | </ul> |
16 | <% else -%> |
17 | <p>This forum is currently unmoderated.</p> |
18 | <p>Please always be courteous.</p> |
19 | <% end -%> |
20 | |
21 | <% end %> |
22 | |
23 | <% @page_title = @forum.name %> |
24 | |
25 | <div class="crumbs"> |
26 | <%= link_to "Forums", home_path %> <span class="arrow">→</span> |
27 | </div> |
28 | <h1 style="margin-top:0.5em"> |
29 | <%= h @forum.name %> |
30 | </h1> |
31 | |
32 | <p class="subtitle"> |
33 | <%= feed_icon_tag @forum.name, formatted_forum_posts_path(@forum, :rss) %> |
34 | <%= pluralize @forum.topics_count, 'topic' %>, <%= pluralize @forum.posts_count, 'post' %> |
35 | </p> |
36 | |
37 | |
38 | |
39 | <% if @topic_pages.page_count > 1 -%> |
40 | <% if logged_in? %> |
41 | <p style="float:right; margin-top:0;"><%= link_to 'New topic', new_topic_path(@forum), :class => "utility" %></p> |
42 | <% end %> |
43 | <p class="pages">Pages: <strong><%= pagination_links @topic_pages, :window_size => 10 %></strong></p> |
44 | <% end -%> |
45 | |
46 | <table border="0" cellspacing="0" cellpadding="0" class="wide topics"> |
47 | <tr> |
48 | <th class="la" colspan="2">Topic</th> |
49 | <th width="1%">Posts</th> |
50 | <th width="1%">Views</th> |
51 | <th class="la">Last post</th> |
52 | </tr> |
53 | <% for topic in @topics %> |
54 | <tr class="hentry"> |
55 | <td style="padding:5px; width:16px;" class="c1"> |
56 | <% |
57 | icon = "comment" |
58 | color = "" |
59 | if topic.locked? |
60 | icon = "lock" |
61 | post = ", this topic is locked." |
62 | color = "darkgrey" |
63 | end |
64 | %> |
65 | <% if recent_topic_activity(topic) %> |
66 | <%= image_tag "clearbits/#{icon}.gif", :class => "icon green", :title => "Recent activity#{post}" %> |
67 | <% else %> |
68 | <%= image_tag "clearbits/#{icon}.gif", :class => "icon grey #{color}", :title => "No recent activity#{post}" %> |
69 | <% end %> |
70 | </td> |
71 | <td class="c2"> |
72 | <%= "Sticky: <strong>" if topic.sticky? %> |
73 | <%= link_to h(topic.title), topic_path(@forum, topic), :class => "entry-title", :rel => "bookmark" %> |
74 | <%= "</strong>" if topic.sticky? %> |
75 | <% if topic.paged? -%> |
76 | <small><%= link_to 'last', topic_path(:forum_id => @forum, :id => topic, :page => topic.last_page) %></small> |
77 | <% end -%> |
78 | </td> |
79 | <td class="ca inv stat"><%= topic.posts_count-1 %></td> |
80 | <td class="ca inv stat"><%= number_with_delimiter(topic.views) %></td> |
81 | <td class="lp"> |
82 | <abbr class="updated" title="<%= topic.replied_at.xmlschema %>"><%= time_ago_in_words(topic.replied_at) %></abbr> |
83 | by <span class="author"><strong class="fn"><%= h(topic.replied_by_user.display_name) %></strong></span> |
84 | <span><%= link_to 'view', topic_path(:forum_id => @forum, :id => topic, :page => topic.last_page, :anchor => "posts-#{topic.last_post_id}") %></span> |
85 | </td> |
86 | </tr> |
87 | <% end %> |
88 | </table> |
89 | |
90 | <% if @topic_pages and @topic_pages.current.next %> |
91 | <p style="float:right;"><%= link_to "Next page", { :page => @topic_pages.current.next }.merge(params.reject{|k,v| k=="page"}) %></p> |
92 | <% end %> |
93 | |
94 | <% if @topic_pages.page_count > 1 -%> |
95 | <p class="pages">Pages: <strong><%= pagination_links @topic_pages, :window_size => 10 %></strong></p> |
96 | <% end -%> |
97 | |
98 | <% if logged_in? %> |
99 | <p><%= link_to 'New topic', new_topic_path(@forum), :class => "utility" %></p> |
100 | <% end%> |