app/views/wiki/list.rhtml in Pimki-1.2.092 vs app/views/wiki/list.rhtml in Pimki-1.3.092
- old
+ new
@@ -1,11 +1,23 @@
<% @title = "All Pages" %>
<%= sub_template "top" %>
<% unless @categories.empty? %>
<div id="categories">
- <strong>Categories</strong>:
- [<a href=".">Any</a>]
+ <strong>Categories</strong>:
+
+ <% if @params["category"].nil? %>
+ [Any]
+ <% else %>
+ <a href=".">Any</a>
+ <% end %>
+
+ <% if @params["category"] == 'none' %>
+ [None]
+ <% else %>
+ <a href="?category=none">None</a>
+ <% end %>
+
<%= @category_links.join(', ') %>
</div>
<% end %>
<div id="listsContainer" style="float: left; width: 300px;">