diff options
Diffstat (limited to 'app/views/wiki/special_page_index.rhtml')
-rw-r--r-- | app/views/wiki/special_page_index.rhtml | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/app/views/wiki/special_page_index.rhtml b/app/views/wiki/special_page_index.rhtml index ba3cfeed1..8d3cd8a42 100644 --- a/app/views/wiki/special_page_index.rhtml +++ b/app/views/wiki/special_page_index.rhtml @@ -1,13 +1,21 @@ -<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_index_by_title) %></h2> -<h2><%= l(:label_page_index) %></h2> +<% if @pages.empty? %> +<p class="nodata"><%= l(:label_no_data) %></p> +<% end %> -<% 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>
\ No newline at end of file +<% end %></ul> + +<% content_for :sidebar do %> + <%= render :partial => 'sidebar' %> +<% end %> + +<div class="contextual"> +<% unless @pages.empty? %> +<%= l(:label_export_to) %> <%= link_to 'HTML', {:action => 'special', :page => 'export'}, :class => 'icon icon-html' %> +<% end %> +</div> + |