2015-08-25 21:42:46 -04:00
|
|
|
- if current_user
|
|
|
|
= content_for :title do
|
|
|
|
%h3.project-title
|
|
|
|
Dashboard
|
|
|
|
.pull-right
|
|
|
|
= render "search"
|
|
|
|
|
|
|
|
.projects
|
|
|
|
%p.fetch-status.light
|
2015-08-26 20:47:18 -04:00
|
|
|
%i.fa.fa-refresh.fa-spin
|
2015-08-25 21:42:46 -04:00
|
|
|
:coffeescript
|
|
|
|
$.get '#{gitlab_ci_projects_path}', (data) ->
|
|
|
|
$(".projects").html data.html
|
|
|
|
CiPager.init "#{gitlab_ci_projects_path}", #{Ci::ProjectsController::PROJECTS_BATCH}, false
|
|
|
|
|
|
|
|
- else
|
|
|
|
= render 'public'
|