Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 2758 Bytes
1 | <%- @title = "All Pages" -%> |
2 | |
3 | <%= categories_menu unless @categories.empty? %> |
4 | |
5 | <div id="allPages"> |
6 | <%- unless @pages_that_are_orphaned.empty? && @page_names_that_are_wanted.empty? -%> |
7 | <h2> |
8 | All Pages |
9 | <br/><span class="pageType">All pages in <%= raw @set_name %> listed alphabetically</span> |
10 | </h2> |
11 | <%- end -%> |
12 | |
13 | <% if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) -%> |
14 | <% form_tag({ :controller => 'wiki', :action => 'tex_list', :web => @web.address }, |
15 | {'method' => 'post', 'accept-charset' => 'utf-8' }) do |
16 | %> |
17 | <div> |
18 | <% if params['category'] -%> |
19 | <input type="hidden" name="category" value="<%= params['category'] %>"/> |
20 | <%- end -%> |
21 | <ul id="sortable_pages"> |
22 | <% @pages_in_category.each do |page| %> |
23 | <% content_tag_for :li, page do %> |
24 | |
25 | <input type="checkbox" name="<%= page.name %>" value="tex"/> |
26 | <%= link_to_existing_page page, truncate(page.plain_name, :length => 35) %> |
27 | <% end %> |
28 | |
29 | <% end %> |
30 | </ul> |
31 | <%= sortable_element('sortable_pages', {:onUpdate => 'function(){}'}) %> |
32 | <label for="commit"> Export selected pages (drag to re-order them) to a LaTeX file.</label> |
33 | <%= submit_tag("Export") %> |
34 | </div> |
35 | <%- end -%> |
36 | <%- else -%> |
37 | <ul> |
38 | <%- @pages_in_category.each do |page| -%> |
39 | <li> |
40 | <%= link_to_existing_page page, truncate(page.plain_name, :length => 35) %> |
41 | </li> |
42 | <%- end -%> |
43 | </ul> |
44 | <%- end -%> |
45 | |
46 | <%- if @web.count_pages? -%> |
47 | <% total_chars = @pages_in_category.characters %> |
48 | <p class="pageStats">All content: <%= total_chars %> chars / approx. <%= sprintf("%-.1f", (total_chars / 2275 )) %> printed pages</p> |
49 | <%- end -%> |
50 | </div> |
51 | |
52 | <div id="wantedPages"> |
53 | <%- unless @page_names_that_are_wanted.empty? -%> |
54 | <h2> |
55 | Wanted Pages |
56 | <br/> |
57 | <span class="pageType"> |
58 | Nonexistent pages that other pages in <%= raw @set_name %> reference |
59 | </span> |
60 | </h2> |
61 | |
62 | <ul style="margin-bottom: 10px"> |
63 | <%- @page_names_that_are_wanted.each do |wanted_page_name| -%> |
64 | <li> |
65 | <%= link_to_page(wanted_page_name, @web, truncate(WikiWords.separate(wanted_page_name), :length => 35)) %> |
66 | wanted by |
67 | <%= @web.select.pages_that_reference(wanted_page_name).collect { |referring_page| |
68 | link_to_existing_page referring_page |
69 | }.join(", ").html_safe |
70 | %> |
71 | </li> |
72 | <%- end -%> |
73 | </ul> |
74 | <%- end -%> |
75 | |
76 | <%- unless @pages_that_are_orphaned.empty? -%> |
77 | <h2> |
78 | Orphaned Pages |
79 | <br/><span class="pageType">Pages in <%= raw @set_name %> that no other page reference</span> |
80 | </h2> |
81 | |
82 | <ul style="margin-bottom: 35px"> |
83 | <%- @pages_that_are_orphaned.each do |orphan_page| -%> |
84 | <li> |
85 | <%= link_to_existing_page orphan_page, truncate(orphan_page.plain_name, :length => 35) %> |
86 | </li> |
87 | <%- end -%> |
88 | </ul> |
89 | <%- end -%> |
90 | </div> |