summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-28 11:48:14 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-28 12:46:19 -0500
commit3f1422a629a6866bc4cf164c00479eedb891ef8a (patch)
tree7703989d64e7a5eb4a1047bd82a40eb849735b15
parent15654eca7f7db7176281ce4fd23504b09bd930a4 (diff)
downloadgitlab-ce-3f1422a629a6866bc4cf164c00479eedb891ef8a.tar.gz
Add CI configuration button on project page
-rw-r--r--CHANGELOG1
-rw-r--r--app/views/projects/show.html.haml4
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 8759bb04dec..d2112fe2156 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -26,6 +26,7 @@ v 8.11.0 (unreleased)
- Multiple trigger variables show in separate lines (Katarzyna Kobierska Ula Budziszewska)
- Profile requests when a header is passed
- Add commit stats in commit api. !5517 (dixpac)
+ - Add CI configuration button on project page
- Make error pages responsive (Takuya Noguchi)
- Change requests_profiles resource constraint to catch virtually any file
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index dd1cf680cfa..cd0cd923ddb 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -43,6 +43,10 @@
%li
= link_to 'Contribution guide', contribution_guide_path(@project)
+ - if @repository.gitlab_ci_yml
+ %li
+ = link_to 'CI configuration', project_environments_path(@project)
+
- if current_user && can_push_branch?(@project, @project.default_branch)
- unless @repository.changelog
%li.missing