Sha256: b038e733090533fda8881de5a5a898d2d49e21d37813d948beb03273226a76b3

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

<%
  @title = @page.plain_name
  @hide_navigation = true
  @style_additions = ".newWikiWord { background-color: white; font-style: italic; }"
                      #Container, #Content { width: 600px; padding-left: 180px;}"
  @inline_style = true
%>
<%= sub_template "top" %>

<div id="revision">
<%= @page.display_published %>
</div>

<div class="byline">
  <%= @page.revisions? ? "Revised" : "Created" %> on <%= @page.pretty_created_at %> 
  by
  <%= @page.author_link({ :mode => :export }) %>
</div>

<div class="navigation">
  <small>
    | Views: <a href="../print/<%= @page.name %>">Print</a>
  <% if OPTIONS[:pdflatex] && @web.markup == :textile %>
    | <a href="../tex/<%= @page.name %>">TeX</a> | <a href="../pdf/<%= @page.name %>">PDF</a>
  <% end %>
  </small>

  <% if @page.references.length > 0 %>
    <small>
      <br />| Linked from: <%= @page.references.collect { |ref| ref.link }.join(", ").gsub('/show/', '/published/') %>
    </small>
  <% end %>

  <!-- TODO: fix this one the Bliki has a published interface
  <% if @page.bliki_references.length > 0 %>
    <small>
      <br />| Bliki Linked from: <%= @page.bliki_references.collect { |ref| link_to_bliki(ref) }.join(", ") %>
    </small>
  <% end %>
  -->

  <br />
  <!-- TODO: fix this one the published interface is better for all special templates.
    <%= list_item "Authors", "../authors/", "Who wrote what" %> 
  | <%= list_item "Feeds", "../feeds/", "Subscribe to changes by RSS" %>
  | <%= list_item "Export", "../export/", "Download a zip with all the pages in this wiki", "X" %>
  -->
</div>

<%= sub_template "bottom" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Pimki-1.7.092 app/views/wiki/published.rhtml