Skip to content

Commit

Permalink
[TM-1562] add new field to site report view
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope committed Dec 20, 2024
1 parent f401c5d commit 4eaf0df
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/pages/reports/site-report/[uuid].page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,22 @@ const SiteReportDetailPage = () => {
<LongTextField title={t("Sites Changes")}>{siteReport.polygon_status}</LongTextField>
<LongTextField title={t("ANR Description")}>{siteReport.technical_narrative}</LongTextField>
</ContextCondition>
<ContextCondition frameworksHide={[Framework.HBF]}>
<ContextCondition frameworksShow={[Framework.PPC]}>
<LongTextField title={t("Technical Narrative")}>{siteReport.technical_narrative}</LongTextField>
<LongTextField title={t("Public Narrative")}>{siteReport.public_narrative}</LongTextField>
</ContextCondition>
<ContextCondition frameworksHide={[Framework.HBF, Framework.PPC]}>
<LongTextField title={t("Survival Rate")}>{siteReport.pct_survival_to_date}</LongTextField>
<LongTextField title={t("Description of Survival Rate Calculation")}>
{siteReport.survival_calculation}
</LongTextField>
<LongTextField title={t("Explanation of Survival Rate")}>
{siteReport.survival_description}
</LongTextField>
<LongTextField title={t("Maintenance Activities")}>
{siteReport.maintenance_activities}
</LongTextField>
</ContextCondition>
<ContextCondition frameworksHide={[Framework.HBF, Framework.PPC]}>
<TreeSpeciesTableTF
uuid={siteReportUUID}
Expand Down

0 comments on commit 4eaf0df

Please sign in to comment.