summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-07 17:54:49 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-07 17:54:49 +0200
commit7f63a8787ce454a61f72393ccbe22fc283ba8313 (patch)
treebf864d1d69ec5b71c6e9fd1c82eeeb8c212ae6d1 /app/views/projects
parenta30b68fe1ded96c5aafe4348d1afec269354c469 (diff)
downloadgitlab-ce-7f63a8787ce454a61f72393ccbe22fc283ba8313.tar.gz
Fix tests and few CI features
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/ci_settings/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/ci_settings/_form.html.haml b/app/views/projects/ci_settings/_form.html.haml
index 34125550206..d711413c6b9 100644
--- a/app/views/projects/ci_settings/_form.html.haml
+++ b/app/views/projects/ci_settings/_form.html.haml
@@ -8,7 +8,7 @@
Edit your
#{link_to ".gitlab-ci.yml using web-editor", yaml_web_editor_link(@ci_project)}
-- if @repository
+- unless @project.empty_repo?
%p
Paste build status image for #{@repository.root_ref} with next link
= link_to '#', class: 'badge-codes-toggle btn btn-default btn-xs' do