instiki/app/views/wiki/recently_revised.rhtml

20 lines
533 B
Plaintext
Raw Normal View History

<% @title = "Recently Revised" %>
<%= categories_menu %>
2006-03-11 23:59:55 +01:00
<% @pages_by_day.keys.sort.reverse.each do |day| %>
<h3><%= format_date(day, include_time = false) %></h3>
<ul>
2006-03-11 23:59:55 +01:00
<% for page in @pages_by_day[day] %>
<li>
<%= link_to_existing_page page %>
<div class="byline" style="margin-bottom: 0px">
by <%= link_to_page(page.author) %>
at <%= format_date(page.revised_at) %>
<%= "from #{page.author.ip}" if page.author.respond_to?(:ip) %>
</div>
</li>
<% end %>
</ul>
<% end %>