blob: 58d25874bd5869417e27b420e791f4cfb404c022 (
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
|
= render "issues/head"
.milestones_content
%h3
Milestones
- if can? current_user, :admin_milestone, @project
= link_to "New Milestone", new_project_milestone_path(@project), :class => "right btn small", :title => "New Milestone"
%br
%div.ui-box
.title
%ul.nav.nav-pills
%li{:class => ("active" if (params[:f] == "0" || !params[:f]))}
= link_to project_milestones_path(@project, :f => 0) do
Active
%li{:class => ("active" if params[:f] == "1")}
= link_to project_milestones_path(@project, :f => 1) do
All
%ul.unstyled
= render @milestones
- if @milestones.present?
%li.bottom= paginate @milestones, :remote => true, :theme => "gitlab"
- else
%li
%p.padded Nothing to show here
|