Fix title on bell icon
This commit is contained in:
@@ -55,13 +55,13 @@ module AccessesHelper
|
||||
board_involvement_path(board),
|
||||
method: :put,
|
||||
aria: { labelledby: involvement_label_id },
|
||||
title: involvement_access_label(access),
|
||||
class: class_names("btn", { "btn--reversed": access.watching? && icon_only }),
|
||||
params: { show_watchers: show_watchers, involvement: next_involvement(access.involvement), icon_only: icon_only }
|
||||
) do
|
||||
safe_join([
|
||||
icon_tag("notification-bell-#{icon_only ? 'reverse-' : nil}#{access.involvement.dasherize}"),
|
||||
tag.span(
|
||||
involvement_access_label(access),
|
||||
class: class_names("txt-nowrap txt-uppercase", "for-screen-reader": icon_only),
|
||||
id: involvement_label_id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user