Skip to content

Commit

Permalink
Issue #SB-19773 merge: Merge pull request #1046 from subranil/release…
Browse files Browse the repository at this point in the history
…-3.0.1

Issue #SB-19773 fix: text replaced for no book available
  • Loading branch information
swayangjit authored Jul 10, 2020
2 parents e411ee5 + 39f2467 commit 9721842
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
9 changes: 3 additions & 6 deletions src/app/resources/resources.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,11 @@
<div *ngIf="!searchApiLoader && storyAndWorksheets && storyAndWorksheets.length === 0">
<div class="sb-nodownloads-container" *ngIf="commonUtilService?.networkInfo?.isNetworkAvailable">
<div class="text-center">
<img style="width: 19.58%; height: 7.72%;" src="./assets/imgs/group.svg" alt="">
<img style="width: 45%;" src="./assets/imgs/group.svg" alt="">
</div>
<div class="text-center">
<p class="sb-nodownloads-title">
<strong>{{'NO_BOOKS_AVAILABLE' | translate}}</strong>
</p>
<p class="sub-heading">{{'NO_BOOKS_DEFINITION' | translate:{'%s': appLabel} }}</p>
<ion-button class="explore-more-books" (click)="requestMoreContent()">
<p class="sub-heading">{{'NO_BOOKS_TEXT' | translate:{'%s': appLabel} }}</p>
<ion-button class="explore-more-books" expand="block" (click)="requestMoreContent()">
{{'REQUEST_CONTENT' | translate}} </ion-button>
</div>
</div>
Expand Down
16 changes: 10 additions & 6 deletions src/app/resources/resources.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
z-index: 1;
}
.main-container {
background: #fff;
background: $white;
position: relative;
}
.offline-header {
Expand All @@ -44,25 +44,29 @@
background-color: #f2f2f2;
}
.sb-view-more {
background: #edf4f9;
background: $light-blue;
text-align: center;
padding: $base-block-space * 2;
color: $primary-color;
font-weight: bolder;
}
.explore-more-content {
border-radius: 4px;
background-color: #FFFFFF;
background-color: $white;
color: #004D9F;
padding-left: 16px;
padding-right: 16px;
}
.explore-more-books {
--background: #024F9D;
--background: #{$blue};
border-radius: 4px;
padding-left: 16px;
padding-right: 16px;
}
.sub-heading {
padding: 1em 4em !important;
font-size: 12px;
color: #333333;
color: $gray-800;
margin: 0;
}
.sb-nodownloads-container {
Expand All @@ -75,7 +79,7 @@
margin: 0;
font-size: 16px;
padding-top: 4%;
color: #666666;
color: $gray-400;
font-weight: bold;
letter-spacing: -0.46px
}
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"CREDITS_LICENCE_INFO": "Credits & License Info",
"CSV_DOWNLOAD_SUCCESS": "{{%s}} saved in ‘Downloads’",
"CURRENT_LANGUAGE": "Current Language ",
"REQUEST_CONTENT": "Request for Content",
"REQUEST_CONTENT": "Let us know here",
"SEE_MORE_BOOKS": "See more books and content",
"DATA_SYNC": "Data Sync",
"DATA_SYNC_FAILURE": "Could not sync data, try again later",
Expand Down Expand Up @@ -757,5 +757,6 @@
"INTERACTIVE_MATERIAL": "interactive study material",
"THANKING_NOTE": "We will notify you as soon as your state board uploads your requested books on {{%s}}",
"EXPLORE_HEADING": "Explore following on {{%s}}",
"SEE_MORE_CONTENT": "See more content"
"SEE_MORE_CONTENT": "See more content",
"NO_BOOKS_TEXT": "Couldn't find your subject's textbook on {{%s}}?"
}

0 comments on commit 9721842

Please sign in to comment.