@openimis/fe-home

1.5.2 • Public • Published

openIMIS Frontend Home reference module

This repository holds the files of the openIMIS Frontend Home reference module. It is dedicated to be deployed as a module of openimis-fe_js.

License: AGPL v3 Total alerts

Other Contributions

  • core.Router: registering the home route in openIMIS client-side router.

Available Contribution Points

  • home.HomePage.Container: Use to override the container of the homepage completely (default: display home.HomePage.Blocks)
  • home.HomePage.Blocks: Blocks displayed on the homepage. The current user is passed to each contribution. An example of block can be found on the Claim management module

Configurations Options

  • HomePageContainer.showHomeMessage: a boolean configuration flag that determines whether or not a special message will be displayed on the home page. If set to true, the application will fetch and display HTML content based on the URL specified in HomePageContainer.homeMessageURL. By default, this is set to false. It means that no additional message will be displayed on the home page.
  • HomePageContainer.homeMessageURL: a string configuration that specifies the URL from which to fetch the HTML payload for display on the home page. By default, this is set to an empty string (""), meaning no URL is specified. This URL is used only when HomePageContainer.showHomeMessage is set to true.
  • HomePageContainer.showHealthFacilityMessage: boolean to show HF status information. It shows days to the end of the contract of a HF assigned to a current user. Default false.

Readme

Keywords

none

Package Sidebar

Install

npm i @openimis/fe-home

Weekly Downloads

36

Version

1.5.2

License

AGPL-3.0-only

Unpacked Size

54.2 kB

Total Files

7

Last publish

Collaborators

  • edarchis
  • delcroip
  • openimis.org
  • purusap