app/views/wiki/list.rhtml in Pimki-1.6.092 vs app/views/wiki/list.rhtml in Pimki-1.7.092

- old
+ new

@@ -1,8 +1,9 @@ <% @title = "All Pages" %> <%= sub_template "top" %> +<!-- Categories Menu --> <% unless @categories.empty? %> <div id="categories"> <p><strong>Categories</strong>: <% if @params["category"].nil? %> @@ -20,10 +21,11 @@ <%= @category_links.join(', ') %> </p> </div> <% end %> +<!-- Main Page List --> <div id="listsContainer" style="float: left; width: 300px;"> <% unless @pages_that_are_orphaned.empty? && @page_names_that_are_wanted.empty? %> <h2> All Pages <br/><small style="font-size: 12px"><i>All pages in <%= @set_name %> listed alphabetically</i></small> @@ -36,10 +38,11 @@ <% total_chars = @pages_in_category.characters %> <p><small>All content: <%= total_chars %> chars / <%= sprintf("%-.1f", (total_chars / 2275 )) %> pages</small></p> <% end %> +<!-- Missing Pages --> <% unless @page_names_that_are_wanted.empty? %> <h2> Wanted Pages <br/><small style="font-size: 12px"><i>Unexisting pages that other pages in <%= @set_name %> reference</i></small> </h2> @@ -53,10 +56,11 @@ </li> <% end %> </ul> <% end %> +<!-- Orphaned Pages --> <% unless @pages_that_are_orphaned.empty? %> <h2> Orphaned Pages <br/><small style="font-size: 12px"><i>Pages in <%= @set_name %> that no other page reference</i></small> </h2> @@ -64,10 +68,10 @@ <ul style="margin-bottom: 35px"> <% for page in @pages_that_are_orphaned.sort_by { |p| p.name } %><li><a href="../show/<%= page.name %>"><%= truncate(page.plain_name, 35) %></a></li><% end %> </ul> <% end %> </div> - +<!-- Page Administration --> <div id="pageAdmin"style="float: right; width: 280px; vertical-align: top;"> <script language="JavaScript1.2"> function validateSelection(fieldID) { var selection = document.getElementById(fieldID).value; if (selection == "noselect") {