Skip to content

Commit

Permalink
add action card tags to states and modify draft tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ylfahfa committed Oct 21, 2024
1 parent f031834 commit 9e53429
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ export const statesMessages = defineMessages({
},
inProgressTag: {
id: 'sia.application:in.progress.tag',
defaultMessage: 'Í vinnslu',
description: 'In progress',
defaultMessage: 'Í vinnslu hjá þér',
description: 'In progress with you',
},
})
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
coreMessages,
DefaultStateLifeCycle,
EphemeralStateLifeCycle,
pruneAfterDays,
Expand Down Expand Up @@ -234,6 +235,9 @@ const IncomePlanTemplate: ApplicationTemplate<
status: 'inprogress',
lifecycle: pruneAfterDays(365),
actionCard: {
tag: {
label: coreMessages.tagsInProgress,
},
pendingAction: {
title: statesMessages.tryggingastofnunInReviewTitle,
content: statesMessages.tryggingastofnunInReviewContent,
Expand Down Expand Up @@ -269,6 +273,9 @@ const IncomePlanTemplate: ApplicationTemplate<
status: 'completed',
lifecycle: DefaultStateLifeCycle,
actionCard: {
tag: {
label: coreMessages.tagsDone,
},
pendingAction: {
title: statesMessages.incomePlanProcessed,
content: statesMessages.incomePlanProcessedDescription,
Expand Down

0 comments on commit 9e53429

Please sign in to comment.