Use relative dates with tooltips fopr Issue#show and MR#show

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-12-20 10:03:29 +02:00
parent e64c3b2b5c
commit a849676300
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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