Add reverse icon
This commit is contained in:
@@ -63,6 +63,8 @@
|
||||
.icon--move { --svg: url("move.svg "); }
|
||||
.icon--notification-bell-access-only { --svg: url("bell.svg "); }
|
||||
.icon--notification-bell-watching { --svg: url("bell-off.svg "); }
|
||||
.icon--notification-bell-reverse-access-only { --svg: url("bell-off.svg "); }
|
||||
.icon--notification-bell-reverse-watching { --svg: url("bell.svg "); }
|
||||
.icon--password { --svg: url("password.svg "); }
|
||||
.icon--pencil { --svg: url("pencil.svg "); }
|
||||
.icon--person { --svg: url("person.svg "); }
|
||||
|
||||
@@ -54,7 +54,7 @@ module AccessesHelper
|
||||
params: { show_watchers: show_watchers, involvement: next_involvement(access.involvement) }
|
||||
) do
|
||||
safe_join([
|
||||
icon_tag("notification-bell-#{access.involvement.dasherize}"),
|
||||
icon_tag("notification-bell-#{icon_only ? 'reverse-' : nil}#{access.involvement.dasherize}"),
|
||||
tag.span(
|
||||
involvement_access_label(collection, access.involvement),
|
||||
class: class_names("txt-nowrap txt-uppercase", "for-screen-reader": icon_only),
|
||||
|
||||
Reference in New Issue
Block a user