Commit 350f5574 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make labels clickable

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 412780cc
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
.issue-labels .issue-labels
- issue.labels.each do |label| - issue.labels.each do |label|
= link_to project_issues_path(issue.project, label_name: label.name) do
= render_colored_label(label) = render_colored_label(label)
.issue-actions .issue-actions
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
.issue-show-labels.pull-right .issue-show-labels.pull-right
- @issue.labels.each do |label| - @issue.labels.each do |label|
= link_to project_issues_path(@project, label_name: label.name) do
= render_colored_label(label) = render_colored_label(label)
.voting_notes#notes= render "projects/notes/notes_with_form" .voting_notes#notes= render "projects/notes/notes_with_form"
...@@ -34,4 +34,5 @@ ...@@ -34,4 +34,5 @@
.merge-request-labels .merge-request-labels
- merge_request.labels.each do |label| - merge_request.labels.each do |label|
= link_to project_merge_requests_path(merge_request.project, label_name: label.name) do
= render_colored_label(label) = render_colored_label(label)
...@@ -5,4 +5,5 @@ ...@@ -5,4 +5,5 @@
.merge-request-show-labels.pull-right .merge-request-show-labels.pull-right
- @merge_request.labels.each do |label| - @merge_request.labels.each do |label|
= link_to project_merge_requests_path(@project, label_name: label.name) do
= render_colored_label(label) = render_colored_label(label)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment