diff --git a/frontend/src/app.sass b/frontend/src/app.sass index 6fa993d7a..949018fe0 100644 --- a/frontend/src/app.sass +++ b/frontend/src/app.sass @@ -975,6 +975,9 @@ th, td font-style: italic @extend .note + emph + font-style: normal + // SORTABLE TABLE-HEADERS .table__th.sortable position: relative diff --git a/src/Handler/Workflow/Instance/List.hs b/src/Handler/Workflow/Instance/List.hs index 4db2397c5..2e9727649 100644 --- a/src/Handler/Workflow/Instance/List.hs +++ b/src/Handler/Workflow/Instance/List.hs @@ -169,6 +169,7 @@ workflowInstanceListR rScope = do siteLayoutMsg heading $ do setTitleI title + let mPitch = Just $(i18nWidgetFile "workflow-instance-list-explanation") $(widgetFile "workflows/instances") where toInitiateRoute win = _WorkflowScopeRoute # (rScope, WorkflowInstanceR win WIInitiateR) @@ -210,7 +211,11 @@ getTopWorkflowInstanceListR = do toInitiateRoute = toInitiateRoute' rScope toEditRoute = toEditRoute' rScope toListRoute = toListRoute' rScope + mPitch :: Maybe Widget + mPitch = Nothing showHeadings = Map.keys gInstances /= [WSGlobal] + pitch = $(i18nWidgetFile "workflow-instance-list-explanation") + $(widgetFile "workflows/top-instances") where diff --git a/src/Handler/Workflow/Workflow/List.hs b/src/Handler/Workflow/Workflow/List.hs index ce6662f60..58039aca3 100644 --- a/src/Handler/Workflow/Workflow/List.hs +++ b/src/Handler/Workflow/Workflow/List.hs @@ -316,5 +316,4 @@ workflowWorkflowList (title, heading) WWListColumns{..} sqlPred = do siteLayoutMsg heading $ do setTitleI title - - workflowTable + $(widgetFile "workflows/workflow-list") diff --git a/templates/i18n/workflow-instance-list-explanation/de-de-formal.hamlet b/templates/i18n/workflow-instance-list-explanation/de-de-formal.hamlet new file mode 100644 index 000000000..97d47a5b0 --- /dev/null +++ b/templates/i18n/workflow-instance-list-explanation/de-de-formal.hamlet @@ -0,0 +1,8 @@ +$newline never +

+ Bei Workflows handelt es sich um Modellierungen von verwaltungstechnischen Abläufen in Uni2work. +

+ Unten aufgelistet sehen sie diejenigen Workflow-Instanzen, also einem konkreten Bereich (z.B. einem Semester oder einem Institut) zugeordnete Sorten von Abläufen, mit denen Sie aktuell interagieren können. +

+ Mit „Workflow starten“ können Sie, sofern Sie die nötigen Berechtigungen haben, einen neuen Ablauf starten. # + Abläufe, bei denen Sie beteiligt sind, finden Sie unter „Laufende Workflows“. diff --git a/templates/i18n/workflow-instance-list-explanation/en-eu.hamlet b/templates/i18n/workflow-instance-list-explanation/en-eu.hamlet new file mode 100644 index 000000000..423837f46 --- /dev/null +++ b/templates/i18n/workflow-instance-list-explanation/en-eu.hamlet @@ -0,0 +1,8 @@ +$newline never +

+ Workflows are a method of modelling administrative processes within Uni2work. +

+ Listed below are those Workflow instances, i.e. types of processes assigned to concrete scopes (e.g. a term or school), with which you may currently interact. +

+ Using “Start workflow” you can, if you have the neccessary permissions, initiate a new process. # + Under “Running workflows” you will find those processes with which you are associated. diff --git a/templates/workflows/instances.hamlet b/templates/workflows/instances.hamlet index 9f4c5b588..07895b7fc 100644 --- a/templates/workflows/instances.hamlet +++ b/templates/workflows/instances.hamlet @@ -1,19 +1,23 @@ $newline never -