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:
- 2068 Bytes
1 | <% @page_title = search_posts_title -%> |
2 | |
3 | <h1> |
4 | <% if params[:q].blank? -%> |
5 | <%= @page_title %> |
6 | <% else -%> |
7 | Searching for '<%= h params[:q] %>' |
8 | <% end -%> |
9 | </h1> |
10 | <p class="subtitle"> |
11 | <%= feed_icon_tag @page_title, search_posts_path(true) %> |
12 | <%= pluralize(@post_pages.item_count,"post") %> found |
13 | </p> |
14 | |
15 | <% if @post_pages.page_count > 1 -%> |
16 | <p class="pages">Pages: <strong><%= pagination_links @post_pages, :window_size => 10, :params => params %></strong></p> |
17 | <% end -%> |
18 | |
19 | <table border="0" cellspacing="0" cellpadding="0" class="posts wide"> |
20 | <% for post in @posts do %> |
21 | <% unless post == @posts.first %> |
22 | <tr class="spacer"> |
23 | <td colspan="2"> </td> |
24 | </tr> |
25 | <% end %> |
26 | <tr class="post hentry" id="<%= post.dom_id %>"> |
27 | <td class="author vcard"> |
28 | <div class="date"> |
29 | <abbr class="updated" title="<%= post.created_at.xmlschema %>"> |
30 | <% if post.created_at > Time.now.utc-24.hours%> |
31 | <%= time_ago_in_words(post.created_at).sub(/about /, '') %> ago |
32 | <% else %> |
33 | <%= post.created_at.strftime("%b %e, %Y")%> |
34 | <% end %> |
35 | </abbr> |
36 | </div> |
37 | |
38 | <%= avatar_for @users[post.user_id] %> |
39 | <span class="fn"><%= link_to truncate(h(@users[post.user_id].display_name), 15), user_path(post.user_id), :class => (@users[post.user_id] == @users[@posts.first.user_id] ? "admin" : nil) %></span> |
40 | <span class="posts"><%= pluralize @users[post.user_id].posts_count, 'post' %></span> |
41 | </td> |
42 | <td class="body entry-content"> |
43 | <p class="topic"> |
44 | Topic: <%= link_to h(post.forum_name), forum_path(post.forum_id) %> / |
45 | <%= link_to h(post.topic_title), topic_path(post.forum_id, post.topic_id) %> |
46 | </p> |
47 | |
48 | <%= post.body_html %> |
49 | </td> |
50 | </tr> |
51 | |
52 | <% end %> |
53 | </table> |
54 | |
55 | <% if @post_pages and @post_pages.current.next %> |
56 | <p style="float:right;"><%= link_to "Next page", { :page => @post_pages.current.next }.merge(params.reject{|k,v| k=="page"}) %></p> |
57 | <% end %> |
58 | |
59 | <% if @post_pages.page_count > 1 -%> |
60 | <p class="pages">Pages: <strong><%= pagination_links @post_pages, :window_size => 10, :params => params %></strong></p> |
61 | <% end -%> |