diff --git a/app/app.html b/app/app.html index 6553b81..0987b65 100755 --- a/app/app.html +++ b/app/app.html @@ -9,8 +9,13 @@ - Categories - {{p1.title}} + Categories + + + + + {{p1.title}} + Add Article - +
diff --git a/app/pages/addarticle/addarticle.ts b/app/pages/addarticle/addarticle.ts index c7679d2..10366b5 100755 --- a/app/pages/addarticle/addarticle.ts +++ b/app/pages/addarticle/addarticle.ts @@ -91,6 +91,7 @@ export class AddArticlePage { } success = (result: any): void => { let file = JSON.parse(result.response); + console.log("In article view : img file path get from server ="+file.filepath); this.datatobesend += '&intro_image=' + file.filepath + '&full_image=' + file.filepath; this.postData(); this.loading.dismiss(); @@ -133,7 +134,6 @@ export class AddArticlePage { let state = 1; let date = new Date(); let FromDate = date.getFullYear() + '-' + ('0' + (date.getMonth() + 1)).slice(-2) + '-' + ('0' + date.getDate()).slice(-2); - if (published < FromDate) { this.uniteToast.toastOptions.message = "Enter valid Start publishing date"; this.uniteToast.showToast(); diff --git a/app/pages/details/details.html b/app/pages/details/details.html index 06c2da7..8847af6 100755 --- a/app/pages/details/details.html +++ b/app/pages/details/details.html @@ -8,10 +8,11 @@
-


-

By : {{selectedItem.created_by.name}}

-

Category : {{selectedItem.catid.title}}

-

Created Date : {{selectedItem.created}}

+


+

By : {{selectedItem.created_by.name}} + Category : {{selectedItem.catid.title}} + Created Date : {{selectedItem.created}} +

diff --git a/app/pages/login/login.html b/app/pages/login/login.html index 5afd1b0..cad32e3 100755 --- a/app/pages/login/login.html +++ b/app/pages/login/login.html @@ -8,6 +8,9 @@