summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/issues/show.html.haml3
-rw-r--r--app/views/projects/merge_requests/show/_mr_title.html.haml3
2 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 9c2b06118b6..7d40721f68f 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -2,8 +2,7 @@
Issue ##{@issue.iid}
%small
- created at
- = @issue.created_at.stamp("Aug 21, 2011")
+ created #{time_ago_with_tooltip(@issue.created_at)} ago
- if @issue.closed?
%span.state-label.state-label-red Closed
diff --git a/app/views/projects/merge_requests/show/_mr_title.html.haml b/app/views/projects/merge_requests/show/_mr_title.html.haml
index 0d6a546bd54..b649a189c93 100644
--- a/app/views/projects/merge_requests/show/_mr_title.html.haml
+++ b/app/views/projects/merge_requests/show/_mr_title.html.haml
@@ -1,8 +1,7 @@
%h3.page-title
= "Merge Request ##{@merge_request.iid}"
%small
- created at
- = @merge_request.created_at.stamp("Aug 21, 2011")
+ created #{time_ago_with_tooltip(@merge_request.created_at)} ago
- if @merge_request.merged?
%span.state-label.state-label-green