diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-15 17:28:02 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-17 15:10:13 -0200 |
commit | 733fbebe0e888290c3973f1655324b1648409478 (patch) | |
tree | ab6676a6e31414954ee350ff678600af9c5c202c /app/helpers/labels_helper.rb | |
parent | e43f572fb78a928b2be1dbaab4323fab449b4627 (diff) | |
download | gitlab-ce-733fbebe0e888290c3973f1655324b1648409478.tar.gz |
Use button instead of an icon to subscribe/unsubscribe to labels
Diffstat (limited to 'app/helpers/labels_helper.rb')
-rw-r--r-- | app/helpers/labels_helper.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb index a5abae7fa8e..a7c8a8a8650 100644 --- a/app/helpers/labels_helper.rb +++ b/app/helpers/labels_helper.rb @@ -68,12 +68,6 @@ module LabelsHelper end end - def toggle_subscription_data(label, project) - { - url: toggle_subscription_namespace_project_label_path(project.namespace, project, label) - } - end - def render_colored_label(label, label_suffix = '', tooltip: true) label_color = label.color || Label::DEFAULT_COLOR text_color = text_color_for_bg(label_color) |