4b91ffca3e
I've changed all the instances of "Nothing to show here" to specifically mention the name of the entity of which there are none to show. This makes for a slightly smoother reading experience.
31 lines
1 KiB
Text
31 lines
1 KiB
Text
= render "projects/issues/head"
|
|
.milestones_content
|
|
%h3.page-title
|
|
Milestones
|
|
- if can? current_user, :admin_milestone, @project
|
|
= link_to new_project_milestone_path(@project), class: "pull-right btn btn-new", title: "New Milestone" do
|
|
%i.icon-plus
|
|
New Milestone
|
|
|
|
.row
|
|
.span3
|
|
%ul.nav.nav-pills.nav-stacked
|
|
%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
|
|
.span9
|
|
.ui-box
|
|
%ul.well-list
|
|
= render @milestones
|
|
|
|
- if @milestones.blank?
|
|
%li
|
|
%h3.nothing_here_message No milestones to show
|
|
|
|
= paginate @milestones, theme: "gitlab"
|