Commit d68f8401 authored by Valery Sizov's avatar Valery Sizov

wiki: improve history

parent 85974948
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
- @wikis.each_with_index do |wiki_page, i| - @wikis.each_with_index do |wiki_page, i|
%tr %tr
%td= i + 1 %td= i + 1
%td= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id) %td
= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
(
= time_ago_in_words(wiki_page.created_at)
ago
)
%td= wiki_page.user.name %td= wiki_page.user.name
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment