diff --git a/app/directives/notification/notification.jade b/app/directives/notification/notification.jade index c13927abf..6844c9041 100644 --- a/app/directives/notification/notification.jade +++ b/app/directives/notification/notification.jade @@ -4,7 +4,7 @@ .customTag(ng-show="config.customTag" ng-style="{'background': config.customTag.background, color: config.customTag.color}") {{config.customTag.text}} .header {{config.header}}:  .details {{config.details}} - i.expand.fa.fa-plus(ng-click="vm.toggle()") + i.expand.fa.fa-plus(ng-click="vm.toggle()", ng-if="!config.isEmpty") .expanded(ng-show="vm.expanded") .notification-bg-desktop(ng-style="{'background-image': 'url('+vm.loadImage(config.backgroundImageDesktop)+')'}") .notification-bg-tablet(ng-style="{'background-image': 'url('+vm.loadImage(config.backgroundImageTablet)+')'}") diff --git a/app/my-dashboard/notifications/news.json b/app/my-dashboard/notifications/news.json index 5c96c0067..9a540d1f1 100644 --- a/app/my-dashboard/notifications/news.json +++ b/app/my-dashboard/notifications/news.json @@ -1,17 +1,15 @@ [ { - "header": "28 Days of T-Shirts!", - "details": "Every day in February you can win a shirt!", - "headerExpand": "28 Days of T-Shirts!", - "detailsExpand": "Every day a new chance to win a t-shirt. Check our Facebook page, Instagram, Twitter, the Forums or Slack for the contest of the day and good luck winning that t-shirt!", - "backgroundImageDesktop": "tshirt-desktop.jpg", - "backgroundImageTablet": "tshirt-tablet.jpg", - "backgroundImageMobile": "tshirt-mobile.jpg", + "header": "There are no announcements", + "details": "You are all caught up!", + "headerExpand": "", + "detailsExpand": "", + "backgroundImageDesktop": "", + "backgroundImageTablet": "", + "backgroundImageMobile": "", "live": false, "liveExpand": false, - "customTag": { - "text": "Announcement" - }, - "videoCode": "" + "videoCode": "", + "isEmpty": true } ]