special_page_index.rhtml
21 lines
| 606 B
| text/html+ruby
|
RhtmlLexer
|
r757 | <h2><%= l(:label_index_by_title) %></h2> | ||
|
r330 | |||
|
r757 | <% if @pages.empty? %> | ||
<p class="nodata"><%= l(:label_no_data) %></p> | ||||
<% end %> | ||||
|
r330 | |||
<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> | ||||
|
r757 | <% 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> | ||||
| ||||