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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
47199c35
Commit
47199c35
authored
Jul 07, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clock and calendar icons for duration and finished at; add finished at section in pipelines
parent
33b4fc31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+2
-0
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+5
-0
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+2
-0
No files found.
app/views/projects/ci/builds/_build.html.haml
View file @
47199c35
...
...
@@ -57,10 +57,12 @@
%td
.duration
-
if
build
.
duration
=
icon
(
"clock-o"
)
#{
duration_in_words
(
build
.
finished_at
,
build
.
started_at
)
}
%td
.timestamp
-
if
build
.
finished_at
=
icon
(
"calendar"
)
%span
#{
time_ago_with_tooltip
(
build
.
finished_at
)
}
-
if
defined?
(
coverage
)
&&
coverage
...
...
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
47199c35
...
...
@@ -45,7 +45,12 @@
%td
-
if
pipeline
.
started_at
&&
pipeline
.
finished_at
%p
.duration
=
icon
(
"clock-o"
)
=
duration_in_numbers
(
pipeline
.
finished_at
,
pipeline
.
started_at
)
-
if
pipeline
.
finished_at
%p
.duration
=
icon
(
"calendar"
)
#{
time_ago_with_tooltip
(
pipeline
.
finished_at
)
}
%td
.controls.hidden-xs.pull-right
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
47199c35
...
...
@@ -50,10 +50,12 @@
%td
.duration
-
if
generic_commit_status
.
duration
=
icon
(
"clock-o"
)
#{
duration_in_words
(
generic_commit_status
.
finished_at
,
generic_commit_status
.
started_at
)
}
%td
.timestamp
-
if
generic_commit_status
.
finished_at
=
icon
(
"calendar"
)
%span
#{
time_ago_with_tooltip
(
generic_commit_status
.
finished_at
)
}
-
if
defined?
(
coverage
)
&&
coverage
...
...
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