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}
|
Issue ##{@issue.iid}
|
||||||
|
|
||||||
%small
|
%small
|
||||||
created at
|
created #{time_ago_with_tooltip(@issue.created_at)} ago
|
||||||
= @issue.created_at.stamp("Aug 21, 2011")
|
|
||||||
|
|
||||||
- if @issue.closed?
|
- if @issue.closed?
|
||||||
%span.state-label.state-label-red Closed
|
%span.state-label.state-label-red Closed
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
%h3.page-title
|
%h3.page-title
|
||||||
= "Merge Request ##{@merge_request.iid}"
|
= "Merge Request ##{@merge_request.iid}"
|
||||||
%small
|
%small
|
||||||
created at
|
created #{time_ago_with_tooltip(@merge_request.created_at)} ago
|
||||||
= @merge_request.created_at.stamp("Aug 21, 2011")
|
|
||||||
|
|
||||||
- if @merge_request.merged?
|
- if @merge_request.merged?
|
||||||
%span.state-label.state-label-green
|
%span.state-label.state-label-green
|
||||||
|
|
Loading…
Reference in a new issue