Skip to content
Snippets Groups Projects
Commit 09298333 authored by Douwe Maan's avatar Douwe Maan
Browse files

Use time_ago_with_tooltip where appropriate.

parent 9e0d3f6e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,7 +40,7 @@
%i.fa.fa-time
#{duration_in_words(@build.finished_at, @build.started_at)}
.pull-right
= @build.updated_at.stamp('19:00 Aug 27')
#{time_ago_with_tooltip(@build.finished_at)}
 
- if @build.show_warning?
- unless @build.any_runners_online?
Loading
Loading
@@ -104,11 +104,11 @@
#{duration_in_words(@build.finished_at, @build.started_at)}
%p
%span.attr-name Created:
#{time_ago_in_words(@build.created_at)} ago
#{time_ago_with_tooltip(@build.created_at)}
- if @build.finished_at
%p
%span.attr-name Finished:
#{time_ago_in_words(@build.finished_at)} ago
#{time_ago_with_tooltip(@build.finished_at)}
%p
%span.attr-name Runner:
- if @build.runner && current_user && current_user.admin
Loading
Loading
Loading
Loading
@@ -36,7 +36,7 @@
 
%td.timestamp
- if commit_status.finished_at
%span #{time_ago_in_words commit_status.finished_at} ago
%span #{time_ago_with_tooltip(commit_status.finished_at)}
 
- if defined?(coverage) && coverage
%td.coverage
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment