summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/special_page_index.rhtml
blob: e6e3e70200d8d7ad393fc0a4b0e00c6908facf6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="contextual">
<% unless @pages.empty? %>
<%= l(:label_export_to) %> <%= link_to 'HTML', {:action => 'special', :page => 'export'}, :class => 'icon icon-html' %>
<% end %>
</div>

<h2><%= l(:label_page_index) %></h2>

<% if @pages.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
<ul><% @pages.each do |page| %>
    <li><%= link_to page.pretty_title, :action => 'index', :page => page.title %> -
    <%= l(:label_last_updates) %>: <%= format_time(page.updated_on) %></li>
<% end %></ul>