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

Commit 5aca310

Browse files
Remove announcement
1 parent a7f1fb6 commit 5aca310

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

app/directives/notification/notification.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.customTag(ng-show="config.customTag" ng-style="{'background': config.customTag.background, color: config.customTag.color}") {{config.customTag.text}}
55
.header {{config.header}}: 
66
.details {{config.details}}
7-
i.expand.fa.fa-plus(ng-click="vm.toggle()")
7+
i.expand.fa.fa-plus(ng-click="vm.toggle()", ng-if="!config.isEmpty")
88
.expanded(ng-show="vm.expanded")
99
.notification-bg-desktop(ng-style="{'background-image': 'url('+vm.loadImage(config.backgroundImageDesktop)+')'}")
1010
.notification-bg-tablet(ng-style="{'background-image': 'url('+vm.loadImage(config.backgroundImageTablet)+')'}")
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
[
22
{
3-
"header": "28 Days of T-Shirts!",
4-
"details": "Every day in February you can win a shirt!",
5-
"headerExpand": "28 Days of T-Shirts!",
6-
"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!",
7-
"backgroundImageDesktop": "tshirt-desktop.jpg",
8-
"backgroundImageTablet": "tshirt-tablet.jpg",
9-
"backgroundImageMobile": "tshirt-mobile.jpg",
3+
"header": "There are no announcements",
4+
"details": "You are all caught up!",
5+
"headerExpand": "",
6+
"detailsExpand": "",
7+
"backgroundImageDesktop": "",
8+
"backgroundImageTablet": "",
9+
"backgroundImageMobile": "",
1010
"live": false,
1111
"liveExpand": false,
12-
"customTag": {
13-
"text": "Announcement"
14-
},
15-
"videoCode": ""
12+
"videoCode": "",
13+
"isEmpty": true
1614
}
1715
]

0 commit comments

Comments
 (0)