Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Remove announcement #1288

Merged
merged 1 commit into from
Mar 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/directives/notification/notification.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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)+')'}")
Expand Down
20 changes: 9 additions & 11 deletions app/my-dashboard/notifications/news.json
Original file line number Diff line number Diff line change
@@ -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
}
]