mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
#252: info when no route model available
This commit is contained in:
parent
4910dfd527
commit
feb3d15968
@ -127,7 +127,8 @@
|
||||
"full_name": "<strong>{{ name }}</strong> 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",
|
||||
|
@ -6,7 +6,11 @@
|
||||
</p>
|
||||
<p class="well-sm">{{ 'document.view.workflow.message' | translate }}</p>
|
||||
|
||||
<form name="startWorkflowForm" class="form-horizontal" novalidate ng-show="!document.route_step">
|
||||
<p class="well-sm text-danger" ng-show="!document.route_step && routemodels.length == 0">
|
||||
<strong translate="document.view.workflow.no_workflow"></strong>
|
||||
</p>
|
||||
|
||||
<form name="startWorkflowForm" class="form-horizontal" novalidate ng-show="!document.route_step && routemodels.length > 0">
|
||||
<div class="form-group" ng-class="{ 'has-error': !startWorkflowForm.routemodel.$valid && startWorkflowForm.$dirty }">
|
||||
<label for="inputRouteModel" class="col-sm-3">
|
||||
{{ 'document.view.workflow.workflow_start_label' | translate }}
|
||||
|
Loading…
Reference in New Issue
Block a user