From d0e8c65a10cd5efaf93e5fb7d7faf26acd53604d Mon Sep 17 00:00:00 2001 From: Justin McReynolds Date: Wed, 15 Jan 2025 18:14:11 -0800 Subject: [PATCH] QuestionnaireResponse table - smaller text --- .../QuestionnaireResponse.svelte | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/lib/components/resource-templates/QuestionnaireResponse.svelte b/src/lib/components/resource-templates/QuestionnaireResponse.svelte index f2a7d83..f629edd 100644 --- a/src/lib/components/resource-templates/QuestionnaireResponse.svelte +++ b/src/lib/components/resource-templates/QuestionnaireResponse.svelte @@ -4,20 +4,14 @@ export let resource: QuestionnaireResponse; // Define a prop to pass the data to the component -// FIXME won't need this... and likely the rest of this file will need heavy edits... - function badgeColor(criticality: string) { - if (criticality) { - if (criticality == 'high') { - return 'danger'; - } else { - return 'primary'; - } - } else { - return 'secondary'; - } - } + + {resource.identifier.value}
Questionnaire reference: {resource.questionnaire}
Authored: {resource.authored} @@ -31,7 +25,7 @@ Authored: {resource.authored} {/if} {/if} - +
Responses