Unverified Commit a8496763 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3fc8012058bf
......@@ -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
......
%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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment