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:
- 2214 Bytes
- Properties:
- Property svn:executable is set
1 | <% |
2 | @header = l(:available_forums) |
3 | if @user.admin? |
4 | @header += "\n" |
5 | @header += link_to('[add]', {:action => 'new'}, 'class' => 'edit') |
6 | end |
7 | %> |
8 | |
9 | <div class="forum"> |
10 | <div class="list"> |
11 | |
12 | <% if @forums.empty? %> |
13 | <%=l :no_forums_available %> |
14 | <% else %> |
15 | |
16 | <table class="list"> |
17 | <tr> |
18 | <th class="name-description">Forum</th> |
19 | <th class="lastpost"><%= l(:last_post) %></th> |
20 | <th class="topics_num"><%= l(:number_of_topics) %></th> |
21 | <th class="posts_num"><%= l(:number_of_posts) %></th> |
22 | </tr> |
23 | |
24 | <% @forums.each do |forum| %> |
25 | <tr> |
26 | <td class="name-description"> |
27 | |
28 | <a href="<%=h url_for(:controller => 'forum', :action => 'forum', :id => forum.id) %>"><%=h forum.name %></a> |
29 | |
30 | <% if forum.readonly == 1 %> |
31 | (read only) |
32 | <% end %> |
33 | |
34 | <span class="name"> |
35 | <% if @user.admin? %> |
36 | <%= link_to '[edit]', {:action => 'edit', :id => forum.id}, 'class' => 'edit' %> |
37 | <%= link_to '↑', {:action => 'move', :id => forum.id, :params => {'direction' => 'up'}}, 'class' => 'edit' unless forum.first? %> |
38 | <%= link_to '↓', {:action => 'move', :id => forum.id, :params => {'direction' => 'down'}}, 'class' => 'edit' unless forum.last? %> |
39 | <% end %> |
40 | </span> |
41 | <br /> |
42 | <span class="description"> |
43 | <%=h forum.description %> |
44 | </span> |
45 | </td> |
46 | <td class="lastpost"> |
47 | <% if forum.last_post %> |
48 | <a href="<%=h url_for(:controller => 'topic', :action => 'show', :id => forum.last_post.topic_id, :anchor => forum.last_post.id) %>"><%=h format_relative_time(forum.last_post.created_at) %></a><br /> |
49 | <%=l :by %> <%=h forum.last_post.author.get_display_name %> |
50 | <% end %> |
51 | </td> |
52 | <td class="topics_num"> |
53 | <%=h forum.get_topics_num %> |
54 | </td> |
55 | <td class="posts_num"> |
56 | <%=h forum.get_posts_num %> |
57 | </td> |
58 | </tr> |
59 | <% end %> |
60 | </table> |
61 | |
62 | <% end %> |
63 | |
64 | </div> |
65 | </div> |