BigW Consortium Gitlab

Make labels clickable

parent 412780cc
......@@ -31,7 +31,8 @@
.issue-labels
- issue.labels.each do |label|
= render_colored_label(label)
= link_to project_issues_path(issue.project, label_name: label.name) do
= render_colored_label(label)
.issue-actions
- if can? current_user, :modify_issue, issue
......
......@@ -68,6 +68,7 @@
.issue-show-labels.pull-right
- @issue.labels.each do |label|
= render_colored_label(label)
= link_to project_issues_path(@project, label_name: label.name) do
= render_colored_label(label)
.voting_notes#notes= render "projects/notes/notes_with_form"
......@@ -34,4 +34,5 @@
.merge-request-labels
- merge_request.labels.each do |label|
= render_colored_label(label)
= link_to project_merge_requests_path(merge_request.project, label_name: label.name) do
= render_colored_label(label)
......@@ -5,4 +5,5 @@
.merge-request-show-labels.pull-right
- @merge_request.labels.each do |label|
= render_colored_label(label)
= link_to project_merge_requests_path(@project, label_name: label.name) do
= 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