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
4fa69410
Commit
4fa69410
authored
Sep 01, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve code
parent
0c14eaa6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
10 deletions
+11
-10
app/views/admin/builds/_build.html.haml
app/views/admin/builds/_build.html.haml
+2
-2
app/views/admin/builds/index.html.haml
app/views/admin/builds/index.html.haml
+1
-1
app/views/projects/builds/_table.html.haml
app/views/projects/builds/_table.html.haml
+4
-4
app/views/projects/builds/index.html.haml
app/views/projects/builds/index.html.haml
+1
-1
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+3
-2
No files found.
app/views/admin/builds/_build.html.haml
View file @
4fa69410
...
...
@@ -45,10 +45,10 @@
.light
none
%td
#{
build
.
stage
}
=
build
.
stage
%td
#{
build
.
name
}
=
build
.
name
%td
-
if
build
.
duration
...
...
app/views/admin/builds/index.html.haml
View file @
4fa69410
...
...
@@ -15,4 +15,4 @@
#{
(
@scope
||
'all'
).
capitalize
}
builds
%ul
.content-list.builds-content-list
=
render
"projects/builds/
content_list"
,
builds:
@builds
,
project:
nil
=
render
"projects/builds/
table"
,
builds:
@builds
,
project:
nil
,
admin:
true
app/views/projects/builds/_
content_list
.html.haml
→
app/views/projects/builds/_
table
.html.haml
View file @
4fa69410
...
...
@@ -8,19 +8,19 @@
%tr
%th
Status
%th
Commit
-
if
project
.
nil?
-
if
admin
%th
Project
%th
Runner
%th
Stage
%th
Name
%th
%th
-
if
project
.
present?
-
if
@
project
.
build_coverage_enabled?
-
unless
admin
-
if
project
.
build_coverage_enabled?
%th
Coverage
-
if
project
.
nil?
-
if
admin
-
builds
.
each
do
|
build
|
=
render
"admin/builds/build"
,
build:
build
-
else
...
...
app/views/projects/builds/index.html.haml
View file @
4fa69410
...
...
@@ -20,4 +20,4 @@
%span
CI Lint
%ul
.content-list.builds-content-list
=
render
"
content_list"
,
builds:
@builds
,
project:
@project
=
render
"
table"
,
builds:
@builds
,
project:
@project
,
admin:
false
app/views/projects/ci/builds/_build.html.haml
View file @
4fa69410
...
...
@@ -53,10 +53,11 @@
.light
none
%td
#{
build
.
stage
}
-
if
defined?
(
stage
)
&&
stage
=
build
.
stage
%td
#{
build
.
name
}
=
build
.
name
%td
-
if
build
.
duration
...
...
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