diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-17 14:07:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-08 13:45:17 +0300 |
commit | 519c758fa9fabe9b73f784a9f5b80579b2d84325 (patch) | |
tree | b75c779f676fe71b1b6b6814a72a8a757de4180e /app/views/shared/_labels_row.html.haml | |
parent | 915ad255cdc7afa9a44ba24eed62f28184e81836 (diff) |
Removable labels from filtered issuables label bar
When filtering by labels, a remove button appears next to each label. This then removes that label & refreshes the issuable filter form
Closes #15474
Diffstat (limited to 'app/views/shared/_labels_row.html.haml')
-rw-r--r-- | app/views/shared/_labels_row.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/shared/_labels_row.html.haml b/app/views/shared/_labels_row.html.haml index dc89e36419c..2bea183334e 100644 --- a/app/views/shared/_labels_row.html.haml +++ b/app/views/shared/_labels_row.html.haml @@ -1,3 +1,5 @@ - labels.each do |label| %span.label-row - = link_to_label(label, tooltip: false) + = link_to_label(label, tooltip: true) + %button.btn.btn-sm.btn-transparent.append-right-5.js-label-filter-remove{ type: "button", data: { label: label.title } } + = icon("times") |