$newline never $# SPDX-FileCopyrightText: 2022 Gregor Kleen $# $# SPDX-License-Identifier: AGPL-3.0-or-later $maybe pitch <- mPitch
^{pitch}
    $forall (Entity _ WorkflowInstance{workflowInstanceName}, mDesc, canUpdate) <- instances
  • $maybe WorkflowInstanceDescription{workflowInstanceDescriptionTitle} <- mDesc

    #{workflowInstanceDescriptionTitle} $nothing

    #{workflowInstanceName}

    ^{linkButton mempty (i18n MsgMenuWorkflowInstanceWorkflows) [BCIsButton, BCPrimary] $ SomeRoute $ toListRoute workflowInstanceName} ^{linkButton mempty (i18n MsgMenuWorkflowInstanceInitiate) [BCIsButton] $ SomeRoute $ toInitiateRoute workflowInstanceName} ^{linkButton mempty (i18n MsgMenuWorkflowInstanceEdit) [BCIsButton] $ SomeRoute $ toEditRoute workflowInstanceName} $if canUpdate ^{updateForm workflowInstanceName} $maybe desc <- workflowInstanceDescriptionDescription =<< mDesc
    #{desc}