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

index.html.haml « milestones « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1dc6da983dfc3b01ecf141b9e04618483b8f967 (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
= render "issues/head"
.milestones_content
  %h3.page_title
    Milestones
    - if can? current_user, :admin_milestone, @project
      = link_to "New Milestone", new_project_milestone_path(@project), class: "right btn btn-small", title: "New Milestone"
  %br
  %div.ui-box
    .title
      %ul.nav.nav-pills
        %li{class: ("active" if (params[:f] == "active" || !params[:f]))}
          = link_to project_milestones_path(@project, f: "active") do
            Active
        %li{class: ("active" if params[:f] == "closed")}
          = link_to project_milestones_path(@project, f: "closed") do
            Closed
        %li{class: ("active" if params[:f] == "all")}
          = link_to project_milestones_path(@project, f: "all") do
            All

    %ul.well-list
      = render @milestones

      - if @milestones.present?
        %li.bottom= paginate @milestones, theme: "gitlab"
      - else
        %li
          %h3.nothing_here_message Nothing to show here