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
f341d957
Commit
f341d957
authored
Sep 08, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build path with call
parent
80c86bcc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
30 deletions
+6
-30
app/views/projects/builds/_table.html.haml
app/views/projects/builds/_table.html.haml
+2
-2
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+0
-0
app/views/shared/_builds_tabs.html.haml
app/views/shared/_builds_tabs.html.haml
+0
-24
app/views/shared/builds/_tabs.html.haml
app/views/shared/builds/_tabs.html.haml
+4
-4
No files found.
app/views/projects/builds/_table.html.haml
View file @
f341d957
...
...
@@ -21,8 +21,8 @@
%th
-
if
admin
=
render
partial:
"
shared
/builds/build"
,
collection:
builds
,
as: :build
,
locals:
{
commit_sha:
true
,
ref:
true
,
stage:
true
,
allow_retry:
true
,
runner:
true
,
admin:
true
}
=
render
partial:
"
projects/ci
/builds/build"
,
collection:
builds
,
as: :build
,
locals:
{
commit_sha:
true
,
ref:
true
,
stage:
true
,
allow_retry:
true
,
runner:
true
,
admin:
true
}
-
else
=
render
partial:
"
shared
/builds/build"
,
collection:
builds
,
as: :build
,
locals:
{
commit_sha:
true
,
ref:
true
,
stage:
true
,
allow_retry:
true
,
coverage:
project
.
build_coverage_enabled?
}
=
render
partial:
"
projects/ci
/builds/build"
,
collection:
builds
,
as: :build
,
locals:
{
commit_sha:
true
,
ref:
true
,
stage:
true
,
allow_retry:
true
,
coverage:
project
.
build_coverage_enabled?
}
=
paginate
builds
,
theme:
'gitlab'
app/views/
shared
/builds/_build.html.haml
→
app/views/
projects/ci
/builds/_build.html.haml
View file @
f341d957
File moved
app/views/shared/_builds_tabs.html.haml
deleted
100644 → 0
View file @
80c86bcc
%ul
.nav-links
%li
{
class:
(
'active'
if
scope
.
nil?
)}
=
link_to
build_path
[
nil
]
do
All
%span
.badge.js-totalbuilds-count
=
number_with_delimiter
(
all_builds
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'pending'
)}
=
link_to
build_path
[
:pending
]
do
Pending
%span
.badge
=
number_with_delimiter
(
all_builds
.
pending
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'running'
)}
=
link_to
build_path
[
:running
]
do
Running
%span
.badge
=
number_with_delimiter
(
all_builds
.
running
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'finished'
)}
=
link_to
build_path
[
:finished
]
do
Finished
%span
.badge
=
number_with_delimiter
(
all_builds
.
finished
.
count
(
:id
))
app/views/shared/builds/_tabs.html.haml
View file @
f341d957
%ul
.nav-links
%li
{
class:
(
'active'
if
scope
.
nil?
)}
=
link_to
build_path
[
nil
]
do
=
link_to
build_path
.
call
(
nil
)
do
All
%span
.badge.js-totalbuilds-count
=
number_with_delimiter
(
all_builds
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'pending'
)}
=
link_to
build_path
[
:pending
]
do
=
link_to
build_path
.
call
(
'pending'
)
do
Pending
%span
.badge
=
number_with_delimiter
(
all_builds
.
pending
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'running'
)}
=
link_to
build_path
[
:running
]
do
=
link_to
build_path
.
call
(
'running'
)
do
Running
%span
.badge
=
number_with_delimiter
(
all_builds
.
running
.
count
(
:id
))
%li
{
class:
(
'active'
if
scope
==
'finished'
)}
=
link_to
build_path
[
:finished
]
do
=
link_to
build_path
.
call
(
'finished'
)
do
Finished
%span
.badge
=
number_with_delimiter
(
all_builds
.
finished
.
count
(
:id
))
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