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:
parent
e64c3b2b5c
commit
a849676300
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue