Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « projects « ci « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6243a28f9e250ca640f0ac5568e6df199e08eb29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- if current_user
  = content_for :title do
    %h3.project-title
      Dashboard
      .pull-right
        = render "search"

  .projects
    %p.fetch-status.light
      %i.fa-refresh.fa-spin
      Please wait while we fetch from GitLab (#{GitlabCi.config.gitlab_server.url})
  :coffeescript
    $.get '#{gitlab_ci_projects_path}', (data) ->
      $(".projects").html data.html
    $('.projects').on 'click', '.reset-cache', ->
      $.get '#{gitlab_ci_projects_path}', { reset_cache: true }, (data) ->
        $(".projects").html data.html
      false
    CiPager.init "#{gitlab_ci_projects_path}", #{Ci::ProjectsController::PROJECTS_BATCH}, false
    
- else
  = render 'public'