-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ONI-106: User HF status information. (#14) * ONI-106: User HF status information. * ONI-106: HF status code review fixes. * ONI-106: HF status fixed if no HF assigned. (#16) * ONI-168: make a notice message larger (#18) * ONI-168: make a notice message larger * ONI-168: if user has no hf, show info about that instead of contract details * add-sonar-ci: add ci file (#19) Co-authored-by: Jan <[email protected]> --------- Co-authored-by: wzglinieckisoldevelo <[email protected]> Co-authored-by: olewandowski1 <[email protected]> Co-authored-by: Jan <[email protected]> Co-authored-by: Jan <[email protected]>
- Loading branch information
1 parent
c93771e
commit a019c54
Showing
5 changed files
with
93 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Sonar CI pipeline | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'release/**' | ||
- develop | ||
- 'feature/**' | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
sonarcloud: | ||
name: SonarCloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: SonarCloud Scan | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
export const DEFAULT = { | ||
SHOW_HOME_MESSAGE: false, | ||
HOME_MESSAGE_URL: "", | ||
SHOW_HEALTH_FACILITY_MESSAGE: false, | ||
}; | ||
|
||
export const DAYS_HF_STATUS = { | ||
DAYS_LONG_TIME_ACTIVE: 180, | ||
DAYS_MEDIUM_TIME_ACTIVE: 30, | ||
}; | ||
export const MODULE_NAME = "home"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"home.HomePageContainer.welcomeMessage": "Welcome {otherNames} {lastName}!", | ||
"home.HomePageContainer.messageTitle": "Notice" | ||
} | ||
"home.HomePageContainer.messageTitle": "Notice", | ||
"home.HomePageContainer.healthFacilityStatus": "Your Hospital Contract is expiring on {date}: (Remaining days: {days})", | ||
"home.HomePageContainer.noHealthFacilityAssigned": "User has no Health Facility assigned and there is no information on when the contract will expire." | ||
} |