From feb3d15968328e48f901e17d4fdc92d668eade5d Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Sun, 28 Oct 2018 17:18:50 +0100 Subject: [PATCH] #252: info when no route model available --- docs-web/src/main/webapp/src/locale/en.json | 3 ++- .../webapp/src/partial/docs/document.view.workflow.html | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs-web/src/main/webapp/src/locale/en.json b/docs-web/src/main/webapp/src/locale/en.json index b27ebd68..566b57f9 100644 --- a/docs-web/src/main/webapp/src/locale/en.json +++ b/docs-web/src/main/webapp/src/locale/en.json @@ -127,7 +127,8 @@ "full_name": "{{ name }} started on {{ create_date | date }}", "cancel_workflow": "Cancel the current workflow", "cancel_workflow_title": "Cancel the workflow", - "cancel_workflow_message": "Do you really want to cancel the current workflow?" + "cancel_workflow_message": "Do you really want to cancel the current workflow?", + "no_workflow": "You cannot start any workflow on this document." }, "permissions": { "permissions": "Permissions", diff --git a/docs-web/src/main/webapp/src/partial/docs/document.view.workflow.html b/docs-web/src/main/webapp/src/partial/docs/document.view.workflow.html index 6e730baa..ac1e6ea3 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.view.workflow.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.view.workflow.html @@ -6,7 +6,11 @@

{{ 'document.view.workflow.message' | translate }}

-
+

+ +

+ +