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