Commit 80ee5ed88db2ec2c574674b37715433898e3e1c7
1 parent
3281021e
Exists in
master
and in
4 other branches
Remove unused files
Showing
2 changed files
with
0 additions
and
52 deletions
Show diff stats
app/views/projects/issues/_filter.html.haml
... | ... | @@ -1,31 +0,0 @@ |
1 | -= form_tag project_issues_path(@project), method: 'get' do | |
2 | - %fieldset | |
3 | - %ul.nav.nav-pills.nav-stacked | |
4 | - %li{class: ("active" if params[:scope].blank?)} | |
5 | - = link_to project_filter_path(scope: nil) do | |
6 | - Everyone's | |
7 | - %li{class: ("active" if params[:scope] == 'assigned-to-me')} | |
8 | - = link_to project_filter_path(scope: 'assigned-to-me') do | |
9 | - Assigned to me | |
10 | - %li{class: ("active" if params[:scope] == 'created-by-me')} | |
11 | - = link_to project_filter_path(scope: 'created-by-me') do | |
12 | - Created by me | |
13 | - | |
14 | - %ul.nav.nav-pills.nav-stacked | |
15 | - %li{class: ("active" if params[:state].blank?)} | |
16 | - = link_to project_filter_path(state: nil) do | |
17 | - Open | |
18 | - %li{class: ("active" if params[:state] == 'closed')} | |
19 | - = link_to project_filter_path(state: 'closed') do | |
20 | - Closed | |
21 | - %li{class: ("active" if params[:state] == 'all')} | |
22 | - = link_to project_filter_path(state: 'all') do | |
23 | - All | |
24 | - | |
25 | - %fieldset | |
26 | - - if %w(state scope milestone_id assignee_id label_name).select { |k| params[k].present? }.any? | |
27 | - = link_to project_issues_path(@project), class: 'cgray pull-right' do | |
28 | - %i.icon-remove | |
29 | - Clear filter | |
30 | - | |
31 | - |
app/views/projects/merge_requests/_filter.html.haml
... | ... | @@ -1,21 +0,0 @@ |
1 | -= form_tag project_issues_path(@project), method: 'get' do | |
2 | - %fieldset | |
3 | - %ul.nav.nav-pills.nav-stacked | |
4 | - %li{class: ("active" if (params[:status] == 'open' || !params[:status]))} | |
5 | - = link_to project_merge_requests_path(@project, status: 'open', milestone_id: params[:milestone_id]) do | |
6 | - Open | |
7 | - %li{class: ("active" if params[:status] == "closed")} | |
8 | - = link_to project_merge_requests_path(@project, status: "closed", milestone_id: params[:milestone_id]) do | |
9 | - Closed | |
10 | - %li{class: ("active" if params[:status] == 'assigned-to-me')} | |
11 | - = link_to project_merge_requests_path(@project, status: 'assigned-to-me', milestone_id: params[:milestone_id]) do | |
12 | - Assigned To Me | |
13 | - %li{class: ("active" if params[:status] == 'all')} | |
14 | - = link_to project_merge_requests_path(@project, status: 'all', milestone_id: params[:milestone_id]) do | |
15 | - All | |
16 | - | |
17 | - %fieldset | |
18 | - - if %w(status milestone_id assignee_id label_name).select { |k| params[k].present? }.any? | |
19 | - = link_to project_merge_requests_path(@project), class: 'cgray pull-right' do | |
20 | - %i.icon-remove | |
21 | - Clear filter |