summaryrefslogtreecommitdiff
path: root/app/views/issues
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-08 10:06:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-08 10:06:48 +0300
commit188a74c3a2e16329eae9abc0006830dbfdea0472 (patch)
tree17a8e06d3832263e188633bb4bf579e79a3ea24f /app/views/issues
parent1e78ceea496a8e031d82e9531d2122287602dcb3 (diff)
downloadgitlab-ce-188a74c3a2e16329eae9abc0006830dbfdea0472.tar.gz
init filter links
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_issues.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/issues/_issues.html.haml b/app/views/issues/_issues.html.haml
index 1438803efb2..4233e2466e5 100644
--- a/app/views/issues/_issues.html.haml
+++ b/app/views/issues/_issues.html.haml
@@ -19,7 +19,7 @@
%a.dropdown-toggle.btn.btn-small{href: '#', "data-toggle" => "dropdown"}
%i.icon-tags
%span.light labels:
- - if params[:label_name]
+ - if params[:label_name].present?
%strong= params[:label_name]
- else
Any
@@ -27,7 +27,7 @@
%ul.dropdown-menu
- issue_label_names.each do |label_name|
%li
- = link_to '#' do
+ = link_to project_issues_with_filter_path(@project, label_name: label_name) do
%span{class: "label #{label_css_class(label_name)}"}
%i.icon-tag
= label_name
@@ -43,7 +43,7 @@
%ul.dropdown-menu
- @project.users.sort_by(&:name).each do |user|
%li
- = link_to '#' do
+ = link_to project_issues_with_filter_path(@project, assignee_id: user.id) do
= image_tag gravatar_icon(user.email), class: "avatar s16"
= user.name
@@ -59,7 +59,7 @@
%ul.dropdown-menu
- issues_active_milestones.each do |milestone|
%li
- = link_to '#' do
+ = link_to project_issues_with_filter_path(@project, milestone_id: milestone.id) do
%strong= milestone.title
%small.light= milestone.expires_at