Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 171
- Log:
Initial import of Beast 0.9 from downloaded Tarball. Beast is a Ruby
On Rails based forum application. The original tarball came from the
following location:http://s3.amazonaws.com/beast-forum/beast-0.9.tar.gz
The forum post which announced this version's availability was at:
http://beast.caboo.se/forums/1/topics/446
- Author:
- rool
- Date:
- Fri Mar 02 15:51:55 +0000 2007
- Size:
- 3007 Bytes
1 | <% content_for :right do %> |
2 | |
3 | <h5>What is Beast?</h5> |
4 | |
5 | <p> |
6 | A small, light-weight forum in Rails with a scary name and a goal of around 500 lines of code when we're done. |
7 | </p> |
8 | |
9 | <% if admin? %> |
10 | <h6>Admin</h6> |
11 | <p><%= link_to 'Create New Forum', new_forum_path, :class => "utility" %></p> |
12 | <% end %> |
13 | |
14 | <% end %> |
15 | |
16 | <h1 style="margin-top:0;">Forums</h1> |
17 | <p class="subtitle"> |
18 | <%= feed_icon_tag "Recent Posts", formatted_all_posts_path(:format => 'rss') %> |
19 | <%= number_with_delimiter(Post.count(:conditions => "id=topic_id")) %> topics, <%= number_with_delimiter(Post.count) %> posts, |
20 | <%= number_with_delimiter(User.count(:conditions => "posts_count>0")) %> voices |
21 | |
22 | </p> |
23 | |
24 | <table border="0" cellspacing="0" cellpadding="0" class="wide forums"> |
25 | <tr> |
26 | <th class="la" width="70%" colspan="2">Forum</th> |
27 | <!-- |
28 | <th width="5%">Topics</th> |
29 | <th width="5%">Posts</th> |
30 | --> |
31 | <th class="la" width="30%">Last Post</th> |
32 | </tr> |
33 | <% for forum in @forums do %> |
34 | <tr> |
35 | <td class="vat c1"> |
36 | |
37 | <% if recent_forum_activity(forum) %> |
38 | <%= image_tag "clearbits/comment.gif", :class => "icon green", :title => "Recent activity" %> |
39 | <% else %> |
40 | <%= image_tag "clearbits/comment.gif", :class => "icon grey", :title => "No recent activity" %> |
41 | <% end %> |
42 | </td> |
43 | <td class="c2"> |
44 | <%= link_to "Edit", edit_forum_path(forum), :class => "tiny", :rel => "directory", :style => "float:right" %> |
45 | |
46 | <%= link_to h(forum.name), forum_path(forum), :class => "title" %> |
47 | <div class="posts"> |
48 | <%= number_with_delimiter(forum.topics_count) %> topics, |
49 | <%= number_with_delimiter(forum.posts_count) %> posts |
50 | </div> |
51 | <p class="desc"><%= h forum.description %> |
52 | </p> |
53 | </td> |
54 | <!-- |
55 | <td class="ca inv"><%= number_with_delimiter(forum.topics_count) %></td> |
56 | <td class="ca inv"><%= number_with_delimiter(forum.posts_count) %></td> |
57 | --> |
58 | |
59 | <td class="inv lp"> |
60 | <% if forum.posts.last %> |
61 | <%= time_ago_in_words(forum.posts.last.created_at) %><br /> |
62 | by <strong><%= h(forum.posts.last.user.display_name) %></strong> |
63 | <span>(<%= link_to 'view', topic_path(:forum_id => forum, :id => forum.posts.last.topic_id, :page => forum.posts.last.topic.last_page) %>)</span> |
64 | <% end %> |
65 | </td> |
66 | </tr> |
67 | <% end %> |
68 | </table> |
69 | |
70 | <p> |
71 | <%= link_to "Recent posts", all_posts_path %> |
72 | </p> |
73 | |
74 | <div class="stats"> |
75 | |
76 | <% |
77 | =begin |
78 | %> |
79 | <div class="posts"> |
80 | Total users: <strong><%= number_with_delimiter(User.count) %></strong><br /> |
81 | Total topics: <strong><%= number_with_delimiter(Post.count(:conditions => "id=topic_id")) %></strong><br /> |
82 | Total posts: <strong><%= number_with_delimiter(Post.count) %></strong> |
83 | </div> |
84 | <% |
85 | =end |
86 | %> |
87 | |
88 | <div class="users"> |
89 | <% online_users = User.currently_online -%> |
90 | <% unless online_users.empty? %> |
91 | Users online: <%= online_users.map { |u| link_to "<strong>#{h u.display_name}</strong>", user_path(u) } * ", " %><br /> |
92 | <% end %> |
93 | <% if (guests=Session.active_guests)>0 %> |
94 | Guests online: <%= guests %> |
95 | <% end %> |
96 | </div> |
97 | |
98 | </div> |
99 |