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
86cedb08
Commit
86cedb08
authored
May 10, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pipeline permissions instead of build
parent
3953e5fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/projects/commit/_ci_commit.html.haml
app/views/projects/commit/_ci_commit.html.haml
+1
-1
app/views/projects/pipelines/index.html.haml
app/views/projects/pipelines/index.html.haml
+1
-2
No files found.
app/views/projects/commit/_ci_commit.html.haml
View file @
86cedb08
.row-content-block.build-content.middle-block
.pull-right
-
if
can?
(
current_user
,
:update_
build
,
@project
)
-
if
can?
(
current_user
,
:update_
pipeline
,
@project
)
-
if
ci_commit
.
builds
.
latest
.
failed
.
any?
(
&
:retryable?
)
=
link_to
"Retry failed"
,
retry_namespace_project_pipeline_path
(
@project
.
namespace
,
@project
,
ci_commit
.
id
),
class:
'btn btn-grouped btn-primary'
,
method: :post
...
...
app/views/projects/pipelines/index.html.haml
View file @
86cedb08
...
...
@@ -29,7 +29,6 @@
=
icon
(
'plus'
)
New
-
if
can?
(
current_user
,
:update_build
,
@project
)
-
unless
@repository
.
gitlab_ci_yml
=
link_to
'Get started with Pipelines'
,
help_page_path
(
'ci/quick_start'
,
'README'
),
class:
'btn btn-info'
...
...
@@ -54,7 +53,7 @@
.table-holder
%table
.table.builds
%tbody
%th
Pipeline
ID
%th
ID
%th
Commit
-
@pipelines
.
stages
.
each
do
|
stage
|
%th
...
...
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