mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Added cookies banner toggle and privacy URL to a new section called Legal Settings in the global settings in the BO
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Darkswarm.directive 'cookiesBanner', (CookiesBannerService) ->
|
||||
restrict: 'A'
|
||||
link: (scope, elm, attr)->
|
||||
return if not attr.cookiesBanner? || attr.cookiesBanner == 'false'
|
||||
CookiesBannerService.setActive()
|
||||
CookiesBannerService.open()
|
||||
|
||||
Reference in New Issue
Block a user