2012-01-27 07:57:55 +01:00
|
|
|
.tabs
|
|
|
|
%li{:class => "#{'active' if current_page?(project_issues_path(@project))}"}
|
|
|
|
= link_to project_issues_path(@project), :class => "tab" do
|
|
|
|
Issues
|
2012-01-18 21:15:45 +01:00
|
|
|
|
|
|
|
-#= link_to project_issues_path(@project), :class => "tab" do
|
|
|
|
%span
|
|
|
|
Milestones
|
|
|
|
|
|
|
|
- if current_page?(project_issues_path(@project))
|
|
|
|
- if can? current_user, :write_issue, @project
|
2012-01-27 07:57:55 +01:00
|
|
|
%li
|
|
|
|
= link_to new_project_issue_path(@project), :class => "add_new", :title => "New Issue", :remote => true do
|
|
|
|
Add new
|
2012-01-18 21:15:45 +01:00
|
|
|
|