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:
luisramos0
2018-06-29 14:39:31 +01:00
committed by Maikel Linke
parent 92f9cbd00a
commit d920c32376
6 changed files with 80 additions and 68 deletions

View File

@@ -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()