style(workflows): explain history separation in workflow view

This commit is contained in:
Gregor Kleen 2020-12-04 16:27:52 +01:00
parent ac08846c26
commit 02a43e585d
4 changed files with 20 additions and 0 deletions

View File

@ -1431,6 +1431,16 @@ pre, tt, code
.workflow-instance--actions
margin: 0 0 0.5rem 11px
.workflow-history-labels
display: flex
flex-direction: column
&__own
align-self: flex-end
text-align: right
&__others
align-self: flex-start
text-align: left
.workflow-history
@extend .list--iconless

View File

@ -3086,6 +3086,8 @@ WorkflowWorkflowWorkflowStateHeading: Zustand/Daten
WorkflowWorkflowWorkflowPayloadHeading: Aktueller Datensatz
WorkflowWorkflowWorkflowStateStateLabel: Aktueller Zustand
WorkflowWorkflowWorkflowStateStateHidden: Versteckter Zustand
WorkflowWorkflowWorkflowHistoryLabelOthers: Aktionen Anderer
WorkflowWorkflowWorkflowHistoryLabelOwn: Eigene Aktionen
WorkflowPayloadFiles: Datei(en)
WorkflowPayloadBoolTrue: Ja

View File

@ -3046,6 +3046,8 @@ WorkflowWorkflowWorkflowStateHeading: State/Data
WorkflowWorkflowWorkflowPayloadHeading: Current data
WorkflowWorkflowWorkflowStateStateLabel: Current state
WorkflowWorkflowWorkflowStateStateHidden: Hidden state
WorkflowWorkflowWorkflowHistoryLabelOthers: Other users' actions
WorkflowWorkflowWorkflowHistoryLabelOwn: Your actions
WorkflowPayloadFiles: File(s)
WorkflowPayloadBoolTrue: Yes

View File

@ -51,6 +51,12 @@ $maybe edgeView <- mEdgeView
<h2>
_{MsgWorkflowWorkflowWorkflowHistoryHeading}
<div .workflow-history-labels .explanation>
<div .workflow-history-labels__others>
_{MsgWorkflowWorkflowWorkflowHistoryLabelOthers}
<div .workflow-history-labels__own>
_{MsgWorkflowWorkflowWorkflowHistoryLabelOwn}
<ul .workflow-history>
$forall histItem <- workflowHistory
^{historyToWidget histItem}