instiki/app/views/wiki/published.rhtml

26 lines
703 B
Plaintext
Raw Normal View History

2008-12-15 20:19:22 +01:00
<%-
2007-01-22 14:43:50 +01:00
@title = @page.plain_name
@hide_navigation = false
@style_additions = ".newWikiWord { background-color: white; font-style: italic; }"
@inline_style = false
2007-01-22 14:43:50 +01:00
@show_footer = true
2008-12-15 20:19:22 +01:00
-%>
2007-01-22 14:43:50 +01:00
<%= @renderer.display_published %>
<div class="byline">
<%= @page.revisions? ? "Revised" : "Created" %> on <%= format_date(@page.revised_at) %>
by
<%= author_link(@page, { :mode => (@link_mode || :show) }) %>
</div>
<div class="navigation navfoot">
<span class="views">
2008-12-15 20:19:22 +01:00
<%- if WikiReference.pages_in_category(@web, 'S5-slideshow').map.include?(@page.name) -%>
Views:
<%= link_to 'S5', {:web => @web.address, :action => 's5',
:id => @page.name}, {:id => 'view_S5'} %>
2008-12-15 20:19:22 +01:00
<%- end -%>
</span>
</div>