diff --git a/app/views/wikis/history.html.haml b/app/views/wikis/history.html.haml index 513f3777bf49f553c67a0106c9453d61ad4a71bd..53bfe7ae840b13b1abf7dd908d74efd2e7d6dbd8 100644 --- a/app/views/wikis/history.html.haml +++ b/app/views/wikis/history.html.haml @@ -9,6 +9,11 @@ - @wikis.each_with_index do |wiki_page, i| %tr %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