Skip to content
Daniel E. Cornelis G. A. Kolbach edited this page Jun 9, 2022 · 1 revision

Show more or less mechanism

  • The element .summary is only included when there is (summary) content available for it.
  • The element #tool-body-text is only included when there is (body) content available for it.

WHEN there are risk assessments associated to the present tool which the user has access then…

  • The element #tool-body-text (if present) has a class show-less.
  • The element p.more-bar is included.
  • The element div.risk-assessments and its contents is included.

ELSE

  • The element #tool-body-text (if present) has no class show-less.
  • The element p.more-bar is not included.
  • The element div.risk-assessments is not included.
Clone this wiki locally