Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 1519 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 | <% if @action_name != 'published' then %> |
13 | <%= list_item 'Home Page', {:action => 'show', :id => 'HomePage'}, 'Home, Sweet Home', 'H' %> | |
14 | <%= list_item 'All Pages', {:action => 'list'}, 'Alphabetically sorted list of pages', 'A' %> | |
15 | <%= list_item 'Recently Revised', {:action =>'recently_revised'}, 'Pages sorted by when they were last changed', 'U' %> | |
16 | <%= list_item 'Authors', {:action => 'authors'}, 'Who wrote what' %> | |
17 | <%= list_item 'Feeds', {:action => 'feeds'}, 'Subscribe to changes by RSS' %> | |
18 | <%= list_item 'Export', {:action => 'export'}, 'Download a zip with all the pages in this wiki', 'X' %> | |
19 | <%= form_tag({ :controller => 'wiki', :action => 'search', :web => @web.address}, |
20 | {'id' => 'navigationSearchForm', 'method' => 'get'}) %> |
21 | <input type="text" id="searchField" name="query" value="Search" |
22 | onfocus="this.value == 'Search' ? this.value = '' : true" |
23 | onblur="this.value == '' ? this.value = 'Search' : true" /> |
24 | <%= end_form_tag %> |
25 | <% else %> |
26 | <%= list_item 'Home Page', {:action => 'published', :id => 'HomePage'}, 'Home, Sweet Home', 'H' %> | |
27 | <% end%> |
28 | </div> |