Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 8
- Log:
Updated to HEAD revision from SVN repository for 22-Jul-2006 at
about 6:30pm.
- Author:
- adh
- Date:
- Sat Jul 22 19:30:50 +0100 2006
- Size:
- 2172 Bytes
1 | <% if @last_read_at and post.created_at > @last_read_at and !@have_newpost_anchor %> |
2 | <a name="new"></a> |
3 | <% @have_newpost_anchor = true %> |
4 | <% end %> |
5 | |
6 | <!-- The class "new" is added if this is an unread post. --> |
7 | <div class="post box <%= "new-post" if @last_read_at and post.created_at > @last_read_at %> <%= "deleted-post" if post.hidden? %>"> |
8 | |
9 | <div class="subject"> |
10 | <strong><a name="<%=h post.id %>" href="#<%=h post.id %>"><%=h post.subject %><%= ' (' + l(:deleted_post) + ')' if post.hidden? %></a></strong> |
11 | </div> |
12 | |
13 | <div class="info"> |
14 | <div class="author"> |
15 | <%=l :posted_by %> |
16 | <span class="name"> |
17 | <% if post.user_id == nil %> |
18 | <%= h post.get_display_name %> (Guest) |
19 | <% else %> |
20 | <%= link_to(post.get_display_name, |
21 | :controller => 'user', |
22 | :action => 'show', |
23 | :id => post.user_id) %> |
24 | <% end %> |
25 | <% if @user.admin? && post.author_host %> |
26 | [IP: |
27 | <%=h post.author_host %> |
28 | <%= link_to( |
29 | l(:block_ip), |
30 | {:controller => 'admin', :action => 'block_ip', :params => {'ip' => post.author_host}}, |
31 | :confirm => l(:block_ip_confirm, post.author_host)) |
32 | %>] |
33 | <% end %> |
34 | </span> |
35 | </div> |
36 | |
37 | <div class="date"> |
38 | on <%=h format_datetime(post.created_at) %> |
39 | </div> |
40 | |
41 | <% for attachment in post.attachments %> |
42 | <div class="attachment"> |
43 | <%=l :attachment %>: |
44 | <a href="<%=h attachment.url %>"><%=h attachment.filename %></a> |
45 | </div> |
46 | <% end %> |
47 | |
48 | <% if post.post_method == 'mail' %> |
49 | <img src="/images/email.png" alt="(<%= l(:received_by_mail) %>)" title="<%= l(:received_by_mail) %>" /> |
50 | <% end %> |
51 | </div> |
52 | |
53 | <div class="text"> |
54 | <% if RForum::CONFIG[:post_formatting] == :simple %> |
55 | <pre><%= color_quoting(url_to_link(h(post.text))) %></pre> |
56 | <% elsif RForum::CONFIG[:post_formatting] == :new %> |
57 | <%= format_post_text_new(post.text) %> |
58 | <% end %> |
59 | </div> |
60 | |
61 | <div class="foot"> |
62 | <% menu = RForum::PostMenu.new(post, @user) %> |
63 | <%= render_menu_items(menu, :edit, :move, :undelete, :delete, :reply_to) %> |
64 | </div> |
65 | |
66 | </div> |