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
Jérome Perrin
gitlab-ce
Commits
6b5cb245
Commit
6b5cb245
authored
Jul 11, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update duration representation on builds pages
parent
843ac2a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/admin/builds/_build.html.haml
app/views/admin/builds/_build.html.haml
+1
-1
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+1
-1
No files found.
app/views/admin/builds/_build.html.haml
View file @
6b5cb245
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
-
if
build
.
duration
-
if
build
.
duration
%p
.duration
%p
.duration
=
custom_icon
(
"icon_timer"
)
=
custom_icon
(
"icon_timer"
)
#{
duration_in_words
(
build
.
finished_at
,
build
.
started_at
)
}
=
duration_in_numbers
(
build
.
finished_at
,
build
.
started_at
)
-
if
build
.
finished_at
-
if
build
.
finished_at
%p
.finished-at
%p
.finished-at
...
...
app/views/projects/ci/builds/_build.html.haml
View file @
6b5cb245
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
-
if
build
.
duration
-
if
build
.
duration
%p
.duration
%p
.duration
=
custom_icon
(
"icon_timer"
)
=
custom_icon
(
"icon_timer"
)
#{
duration_in_words
(
build
.
finished_at
,
build
.
started_at
)
}
=
duration_in_numbers
(
build
.
finished_at
,
build
.
started_at
)
-
if
build
.
finished_at
-
if
build
.
finished_at
%p
.finished-at
%p
.finished-at
=
icon
(
"calendar"
)
=
icon
(
"calendar"
)
...
...
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