summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 19:59:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 19:59:39 +0200
commit15eeae5fa8f10442617d2edd8fc3d8f5b3f334db (patch)
tree8538a3cb4ab9b6945035fc4b17daef1696511405 /app/views/ci
parent2b683807b52d4b7d156da31ed9e1f8aa20c248d9 (diff)
downloadgitlab-ce-15eeae5fa8f10442617d2edd8fc3d8f5b3f334db.tar.gz
Fix 500 when search for gitlab projects
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/projects/index.html.haml9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/views/ci/projects/index.html.haml b/app/views/ci/projects/index.html.haml
index 99d07329af0..4c74610a575 100644
--- a/app/views/ci/projects/index.html.haml
+++ b/app/views/ci/projects/index.html.haml
@@ -1,10 +1,5 @@
- if current_user
- = content_for :title do
- %h3.project-title
- Dashboard
- .pull-right
- = render "search"
-
+ = render "search"
.projects
%p.fetch-status.light
%i.fa.fa-refresh.fa-spin
@@ -12,6 +7,6 @@
$.get '#{gitlab_ci_projects_path}', (data) ->
$(".projects").html data.html
CiPager.init "#{gitlab_ci_projects_path}", #{Ci::ProjectsController::PROJECTS_BATCH}, false
-
+
- else
= render 'public'