diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-21 10:50:15 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-21 10:50:15 +0300 |
commit | 7f23e0b8c051da34c8587e4096476939a57fee24 (patch) | |
tree | c9d1d8515bd03c5cdb6092aeb9af402637a1041e /app/assets/javascripts | |
parent | b4ed6efd50face25fa52693415616d5f3c7964e2 (diff) |
Fixes text color on labels in sidebar
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/labels_select.js.coffee | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee index 021ade73d44..5cb225c9baa 100644 --- a/app/assets/javascripts/labels_select.js.coffee +++ b/app/assets/javascripts/labels_select.js.coffee @@ -34,8 +34,8 @@ class @LabelsSelect if issueUpdateURL labelHTMLTemplate = _.template( '<% _.each(labels, function(label){ %> - <a href="<%= ["",issueURLSplit[1], issueURLSplit[2],""].join("/") %>issues?label_name=<%= _.escape(label.title) %>"> - <span class="label has-tooltip color-label" title="<%= _.escape(label.description) %>" style="background-color: <%= label.color %>;"> + <a href="<%= ["",issueURLSplit[1], issueURLSplit[2],""].join("/") %>issues?label_name[]=<%= _.escape(label.title) %>"> + <span class="label has-tooltip color-label" title="<%= _.escape(label.description) %>" style="background-color: <%= label.color %>; color: <%= label.text_color %>;"> <%= _.escape(label.title) %> </span> </a> @@ -157,6 +157,7 @@ class @LabelsSelect data.issueURLSplit = issueURLSplit labelCount = 0 if data.labels.length + console.log data.labels template = labelHTMLTemplate(data) labelCount = data.labels.length else |