2007-09-27 23:35:53 +04:00
|
|
|
<h2><%= l(:label_index_by_title) %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-09-27 23:35:53 +04:00
|
|
|
<% if @pages.empty? %>
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<ul><% @pages.each do |page| %>
|
2007-09-29 14:26:57 +04:00
|
|
|
<li><%= link_to page.pretty_title, {:action => 'index', :page => page.title},
|
|
|
|
:title => l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) %>
|
|
|
|
</li>
|
2007-09-27 23:35:53 +04:00
|
|
|
<% 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>
|
|
|
|
|