Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 363
- Log:
Change layout, views and stylesheet to integrate into wider ROOL site design.
- Author:
- rool
- Date:
- Sat Mar 19 22:04:34 +0000 2011
- Size:
- 1378 Bytes
1 | <% |
2 | def list_item(text, link_options, description, accesskey = nil) |
3 | link_options[:controller] = 'wiki' |
4 | link_options[:web] = @web.address |
5 | link_to_unless_current(text, link_options, :title => description, :accesskey => accesskey) { |
6 | content_tag('b', text, 'title' => description, 'class' => 'navOn') |
7 | } |
8 | end |
9 | %> |
10 | |
11 | <div class="navigation"> |
12 | <ul> |
13 | <% if params['action'] != 'published' then -%> |
14 | <li><%= list_item 'Home Page', {:action => 'show', :id => 'HomePage'}, 'Documentation home', 'H' %></li> |
15 | <li><%= list_item 'All Pages', {:action => 'list'}, 'Alphabetically sorted list of pages', 'A' %></li> |
16 | <li><%= list_item 'Recently Revised', {:action =>'recently_revised'}, 'Pages sorted by when they were last changed', 'U' %></li> |
17 | <li><%= list_item 'Authors', {:action => 'authors'}, 'Who wrote what' %></li> |
18 | <li><%= list_item 'Feeds', {:action => 'feeds'}, 'Subscribe to changes by Atom' %></li> |
19 | <% if hubssolib_logged_in? && hubssolib_authorized?( :export, WikiController ) -%> |
20 | <li><%= list_item 'Export', {:action => 'export'}, 'Download a zip with all the pages in this wiki', 'X' %></li> |
21 | <% end -%> |
22 | <% else -%> |
23 | <li><%= list_item 'Home Page', {:action => 'published', :id => 'HomePage'}, 'Documentation home', 'H' %></li> |
24 | <li><%= list_item 'Feeds', {:action => 'feeds'}, 'Subscribe to changes by Atom' %></li> |
25 | <% end-%> |
26 | </ul> |
27 | </div> |