summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2012-02-19 21:56:18 +0200
committerValery Sizov <vsv2711@gmail.com>2012-02-19 21:56:18 +0200
commitd68f8401b3f0c3a9b2c887122979e83d95409a69 (patch)
treefda122af8e5dca0c336433a6f540dd90033c4d36 /app
parent85974948e778f5261cc24a2911bd652a91e950da (diff)
downloadgitlab-ce-d68f8401b3f0c3a9b2c887122979e83d95409a69.tar.gz
wiki: improve history
Diffstat (limited to 'app')
-rw-r--r--app/views/wikis/history.html.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/wikis/history.html.haml b/app/views/wikis/history.html.haml
index 513f3777bf4..53bfe7ae840 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