2012-08-09 06:34:29 +02:00
|
|
|
%h3.page_title
|
|
|
|
%span.cgray History for
|
|
|
|
= @wikis.last.title
|
2012-07-25 21:08:47 +02:00
|
|
|
%br
|
|
|
|
%table.admin-table
|
2012-02-19 20:52:05 +01:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th #
|
|
|
|
%th last edit
|
|
|
|
%th created by
|
|
|
|
%tbody
|
|
|
|
- @wikis.each_with_index do |wiki_page, i|
|
|
|
|
%tr
|
|
|
|
%td= i + 1
|
2012-02-19 20:56:18 +01:00
|
|
|
%td
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id)
|
2012-03-26 11:11:02 +02:00
|
|
|
(#{time_ago_in_words(wiki_page.created_at)}
|
|
|
|
ago)
|
2012-02-19 20:52:05 +01:00
|
|
|
%td= wiki_page.user.name
|
|
|
|
|