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

index.html.haml « dashboard « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 895c47124f0418743745696a4077ae3603bae210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
- if current_user.require_ssh_key?
  .alert-message.block-message.error
    %p  
      You wont be able to pull/push project code unless you  
      = link_to new_key_path, :class => "vlink" do 
        add new key
      to your profile

%div.dashboard_category
  %h3
    %span.ico.projects
    = link_to "Projects" , "#projects", :id => "projects"
    %small
      ( most recent )

  %strong.right
    = link_to projects_path do 
      Projects list → 
  %hr
  .row
    .dashboard_block
      .row
        .span10= render "dashboard/projects_feed", :projects => @active_projects
        .span4.right
          - if current_user.can_create_project?
            .alert-message.block-message.warning
              You can create up to
              = current_user.projects_limit
              projects. Click on link below to add a new one
              .link_holder
                = link_to new_project_path, :class => "" do 
                  New Project » 


- if @merge_requests.any?
  %div.dashboard_category
    %h3
      = link_to "Merge Requests" , "#merge_requests", :id => "merge_requests"
      
      %small ( authored or assigned to you )
    %strong.right
      = link_to dashboard_merge_requests_path do 
        Visit merge requests page → 
    %hr
    .row
      .dashboard_block= render "dashboard/merge_requests_feed"

- if @issues.any?
  %div.dashboard_category
    %h3
      = link_to "Issues" , "#issues", :id => "issues"
      %small ( assigned to you )
    %strong.right
      = link_to dashboard_issues_path do 
        Visit issues page → 
    %hr
    .row
      .dashboard_block= render "dashboard/issues_feed"

- if @events.any?
  %div.dashboard_category
    %h3
      %span.ico.activities
      = link_to "Activities" , "#activities", :id => "activities"
    %strong.right
      = link_to dashboard_activities_path do 
        Visit activities page → 

    %hr
    .row
      .dashboard_block= render @events