LSCOIT / LegalNavigator

Phase 3 Access2Justice continued
Creative Commons Attribution 4.0 International
9 stars 3 forks source link

Article layout does not render all fields #447

Open aroubin opened 5 years ago

aroubin commented 5 years ago

From @aroubin on October 10, 2018 0:58

Article layout currently renders only the overview section from the database.

Copied from original issue: Microsoft/Access2Justice#563

aroubin commented 5 years ago

From @yfzwinnie on October 11, 2018 4:8

UI part is complete to loop through the article contents. See branch: feature/articles_org_import_change Need to change article JSON:

Old Article JSON format: "headline1": "How much does a custody evaluation cost?", "content1": "There is no fee for investigations done by the court Custody Investigator’s Office. If out of town travel is involved, you and/or the other parent may be responsible for those expenses.", "headline2": "Who is the custody investigator?", "content2": "The custody investigator is a professional who is educated, experienced, and trained in areas related to the divorce/separation process and its effects on families, child development, and assessment of children. ",

New Article JSON format:

"contents": [ { "headline": "How much does a custody evaluation cost?", "content": "There is no fee for investigations done by the court Custody Investigator’s Office. If out of town travel is involved, you and/or the other parent may be responsible for those expenses." }, { "headline": "Who is the custody investigator?", "content": "The custody investigator is a professional who is educated, experienced, and trained in areas related to the divorce/separation process and its effects on families, child development, and assessment of children. " } ],