BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
afca25ed
Commit
afca25ed
authored
Jul 28, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link configuration button to .gitlab-ci.yml
parent
3f1422a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
projects_helper.rb
app/helpers/projects_helper.rb
+4
-0
show.html.haml
app/views/projects/show.html.haml
+1
-1
No files found.
app/helpers/projects_helper.rb
View file @
afca25ed
...
...
@@ -263,6 +263,10 @@ module ProjectsHelper
filename_path
(
project
,
:version
)
end
def
ci_configuration_path
(
project
)
filename_path
(
project
,
:gitlab_ci_yml
)
end
def
project_wiki_path_with_version
(
proj
,
page
,
version
,
is_newest
)
url_params
=
is_newest
?
{}
:
{
version_id:
version
}
namespace_project_wiki_path
(
proj
.
namespace
,
proj
,
page
,
url_params
)
...
...
app/views/projects/show.html.haml
View file @
afca25ed
...
...
@@ -45,7 +45,7 @@
-
if
@repository
.
gitlab_ci_yml
%li
=
link_to
'CI configuration'
,
project_environments
_path
(
@project
)
=
link_to
'CI configuration'
,
ci_configuration
_path
(
@project
)
-
if
current_user
&&
can_push_branch?
(
@project
,
@project
.
default_branch
)
-
unless
@repository
.
changelog
...
...
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