banners to 4
This commit is contained in:
+15
-13
@@ -61,7 +61,7 @@ var banners = {
|
||||
"style": "style1",
|
||||
"text": "Pending",
|
||||
"description": "Waiting for you to get started",
|
||||
"action": "thisaction"
|
||||
"action": "mytask"
|
||||
}
|
||||
},
|
||||
"current": {
|
||||
@@ -84,16 +84,6 @@ var banners = {
|
||||
"action": "familymarket"
|
||||
}
|
||||
},
|
||||
"another1task": {
|
||||
"banner": {
|
||||
"image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
|
||||
"icon": "bannerimage.icon",
|
||||
"style": "style4",
|
||||
"text": "Dummy for now",
|
||||
"description": "dummy dummy dummy",
|
||||
"action": "thisaction"
|
||||
}
|
||||
},
|
||||
"pastdue": {
|
||||
"banner": {
|
||||
"image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
|
||||
@@ -101,13 +91,25 @@ var banners = {
|
||||
"style": "style5",
|
||||
"text": "Past Due",
|
||||
"description": "Ask for more time if past due",
|
||||
"action": "thisaction"
|
||||
"action": "mytask"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// "another1task": {
|
||||
// "banner": {
|
||||
// "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
|
||||
// "icon": "bannerimage.icon",
|
||||
// "style": "style4",
|
||||
// "text": "Dummy for now",
|
||||
// "description": "dummy dummy dummy",
|
||||
// "action": "thisaction"
|
||||
// }
|
||||
// },
|
||||
|
||||
let resultItem ={
|
||||
"result": bannerArray,
|
||||
"total_record": 5
|
||||
"total_record": 4
|
||||
}
|
||||
next(null, resultItem ); // pass control to the next handler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user