Commit d68f8401b3f0c3a9b2c887122979e83d95409a69

Authored by Valery Sizov
1 parent 85974948

wiki: improve history

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
app/views/wikis/history.html.haml
... ... @@ -9,6 +9,11 @@
9 9 - @wikis.each_with_index do |wiki_page, i|
10 10 %tr
11 11 %td= i + 1
12   - %td= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
  12 + %td
  13 + = link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
  14 + (
  15 + = time_ago_in_words(wiki_page.created_at)
  16 + ago
  17 + )
13 18 %td= wiki_page.user.name
14 19  
... ...