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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c0b79a75
Commit
c0b79a75
authored
Oct 07, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move no runners alert to project ci settings
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
6f609771
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
app/views/ci/projects/_info.html.haml
app/views/ci/projects/_info.html.haml
+0
-2
app/views/projects/ci_settings/_no_runners.html.haml
app/views/projects/ci_settings/_no_runners.html.haml
+1
-1
app/views/projects/ci_settings/edit.html.haml
app/views/projects/ci_settings/edit.html.haml
+3
-0
No files found.
app/views/ci/projects/_info.html.haml
View file @
c0b79a75
-
if
no_runners_for_project?
(
@project
)
=
render
'no_runners'
app/views/
ci/project
s/_no_runners.html.haml
→
app/views/
projects/ci_setting
s/_no_runners.html.haml
View file @
c0b79a75
...
@@ -4,5 +4,5 @@
...
@@ -4,5 +4,5 @@
%br
%br
You can add Specific runner for this project on Runners page
You can add Specific runner for this project on Runners page
-
if
current_user
.
is_
admin
-
if
current_user
.
admin
or add Shared runner for whole application in admin are.
or add Shared runner for whole application in admin are.
app/views/projects/ci_settings/edit.html.haml
View file @
c0b79a75
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
yaml file which is based on your old jobs.
yaml file which is based on your old jobs.
Put this file to the root of your project and name it .gitlab-ci.yml
Put this file to the root of your project and name it .gitlab-ci.yml
-
if
no_runners_for_project?
(
@ci_project
)
=
render
'no_runners'
=
render
'form'
=
render
'form'
-
if
@ci_project
.
generated_yaml_config
-
if
@ci_project
.
generated_yaml_config
...
...
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