Skip to content

Commit

Permalink
Update section_7 template to remove unicode characters that tripped u…
Browse files Browse the repository at this point in the history
…p PDF generation
  • Loading branch information
rahearn committed Sep 11, 2024
1 parent 848500d commit cdfd99e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/ssp-rendering/lato/templates/section_7.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{% macro system_status(state_value, display_text) -%}
{{"**" if ssp.system_characteristics.status.state.value == state_value}}{{display_text}}{{"**" if ssp.system_characteristics.status.state.value == state_value}}
{%- endmacro %}
# 7 Information System Operational Status

The system is currently in the life-cycle phase noted in the following table.
Expand All @@ -6,7 +9,7 @@ Table 7-1. System Operational Status

| System Operational Status | Status Description |
| ------------------------- | ------------------ |
| {{"☒" if ssp.system_characteristics.status.state.value == "operational" else "☐"}} Operational | The system is operating and in production |
| {{"☒" if ssp.system_characteristics.status.state.value == "under-development" else "☐"}} Under Development | The system is being designed, developed, or implemented. |
| {{"☒" if ssp.system_characteristics.status.state.value == "under-major-modification" else "☐"}} Major Modification | The system is undergoing a major change, development, or transition. |
| {{"☒" if ssp.system_characteristics.status.state.value == "other" else "☐"}} Other | Explain: {{ "Edit the section_7.md template to explain the status" if ssp.system_characteristics.status.state.value == "other" else "" }} |
| {{ system_status('operational', 'Operational') }} | {{ system_status('operational', 'The system is operating and in production') }} |
| {{ system_status('under-development', 'Under Development') }} | {{ system_status('under-development', 'The system is being designed, developed, or implemented.') }} |
| {{ system_status('under-major-modification', 'Major Modification') }} | {{ system_status('under-development', 'The system is undergoing a major change, development, or transition.') }} |
| {{ system_status('other', 'Other') }} | Explain: {{ "Edit the section_7.md template to explain the status" if ssp.system_characteristics.status.state.value == "other" else "" }} |

0 comments on commit cdfd99e

Please sign in to comment.