Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a2ea78a0
Commit
a2ea78a0
authored
Nov 28, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reformat build duration and finish time to match /ci/builds/_build.html.haml
parent
3e0651c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+12
-8
No files found.
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
a2ea78a0
...
...
@@ -73,17 +73,21 @@
%td
=
generic_commit_status
.
name
%td
.duration
%td
-
if
generic_commit_status
.
duration
=
icon
(
"clock-o"
)
=
time_interval_in_words
(
generic_commit_status
.
duration
)
%p
.duration
=
custom_icon
(
"icon_timer"
)
=
duration_in_numbers
(
generic_commit_status
.
duration
)
%td
.timestamp
-
if
generic_commit_status
.
finished_at
=
icon
(
"calendar"
)
%span
#{
time_ago_with_tooltip
(
generic_commit_status
.
finished_at
)
}
%p
.finished-at
=
icon
(
"calendar"
)
%span
#{
time_ago_with_tooltip
(
generic_commit_status
.
finished_at
)
}
-
if
coverage
%td
.
coverage
%td
.
coverage
-
if
coverage
-
if
generic_commit_status
.
try
(
:coverage
)
#{
generic_commit_status
.
coverage
}
%
%td
-# empty column to match number of columns in ci/builds/_build.html.haml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment