@@ -1,3 +1,7 | |||
|
1 | <% if User.current.allowed_to?(:manage_boards, @project) %> | |
|
2 | <p><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %></p> | |
|
3 | <% end %> | |
|
4 | ||
|
1 | 5 | <% if @project.boards.any? %> |
|
2 | 6 | <div class="table-list boards"> |
|
3 | 7 | <div class="table-list-header"> |
@@ -27,7 +31,3 | |||
|
27 | 31 | <% else %> |
|
28 | 32 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
29 | 33 | <% end %> |
|
30 | ||
|
31 | <% if User.current.allowed_to?(:manage_boards, @project) %> | |
|
32 | <p><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %></p> | |
|
33 | <% end %> |
@@ -1,3 +1,5 | |||
|
1 | <p><%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %></p> | |
|
2 | ||
|
1 | 3 | <% if @project.issue_categories.any? %> |
|
2 | 4 | <table class="list"> |
|
3 | 5 | <thead><tr> |
@@ -25,5 +27,3 | |||
|
25 | 27 | <% else %> |
|
26 | 28 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
27 | 29 | <% end %> |
|
28 | ||
|
29 | <p><%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %></p> |
@@ -1,3 +1,7 | |||
|
1 | <% if User.current.allowed_to?(:manage_repository, @project) %> | |
|
2 | <p><%= link_to l(:label_repository_new), new_project_repository_path(@project), :class => 'icon icon-add' %></p> | |
|
3 | <% end %> | |
|
4 | ||
|
1 | 5 | <% if @project.repositories.any? %> |
|
2 | 6 | <table class="list"> |
|
3 | 7 | <thead> |
@@ -35,7 +39,3 | |||
|
35 | 39 | <% else %> |
|
36 | 40 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
37 | 41 | <% end %> |
|
38 | ||
|
39 | <% if User.current.allowed_to?(:manage_repository, @project) %> | |
|
40 | <p><%= link_to l(:label_repository_new), new_project_repository_path(@project), :class => 'icon icon-add' %></p> | |
|
41 | <% end %> |
@@ -1,3 +1,5 | |||
|
1 | <p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p> | |
|
2 | ||
|
1 | 3 | <%= form_tag(settings_project_path(@project, :tab => 'versions'), :method => :get) do %> |
|
2 | 4 | <fieldset><legend><%= l(:label_filter_plural) %></legend> |
|
3 | 5 | <label for='status'><%= l(:field_status) %> :</label> |
@@ -48,5 +50,3 | |||
|
48 | 50 | <%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %> |
|
49 | 51 | <% end %> |
|
50 | 52 | </div> |
|
51 | ||
|
52 | <p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p> |
General Comments 0
You need to be logged in to leave comments.
Login now