Sha256: 3a664e774b892efd04ebdb4204e479b66eecec3fef072850d323e846ce040eb3

Contents?: true

Size: 792 Bytes

Versions: 2

Compression:

Stored size: 792 Bytes

Contents

<% @title = "Recently Revised" %>

<%= categories_menu %>

<% unless @pages_by_revision.empty? %>
  <% revision_date = @pages_by_revision.first.revised_on %>
  <h3><%= revision_date.strftime('%B %e, %Y') %></h3>
  <ul>
  <% for page in @pages_by_revision %>
    <% if page.revised_on < revision_date %>
      <% revision_date = page.revised_on %>
      </ul>
      <h3><%= revision_date.strftime('%B %e, %Y') %></h3>
      <ul>
    <% end %>
    <li>
      <%= link_to_existing_page page %>
      <div class="byline" style="margin-bottom: 0px">
        by <%= link_to_page(page.author) %>
        at <%= page.created_at.strftime "%H:%M" %>
        <%= "from #{page.author.ip}" if page.author.respond_to?(:ip) %>
      </div>
    </li>
  <% end %>
  </ul>
<% end %>
	

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
instiki-0.10.1 app/views/wiki/recently_revised.rhtml
instiki-0.10.2 app/views/wiki/recently_revised.rhtml