diff --git a/wcs/admin/workflows.py b/wcs/admin/workflows.py
index b84bba386..868b5f5b5 100644
--- a/wcs/admin/workflows.py
+++ b/wcs/admin/workflows.py
@@ -1262,7 +1262,7 @@ class GlobalActionPage(WorkflowStatusPage):
r += htmltext('
%s
') % _('There are not yet any items in this action.')
else:
if self.workflow.is_readonly():
- r += htmltext('')
+ r += htmltext('')
else:
r += htmltext('')
r += _('Use drag and drop with the handles to reorder items.')
@@ -1286,10 +1286,12 @@ class GlobalActionPage(WorkflowStatusPage):
r += htmltext('
')
r += htmltext('') # bo-block
+ sortable = 'sortable readonly' if self.workflow.is_readonly() else 'sortable'
r += htmltext('')
r += htmltext('
%s
') % _('Triggers')
- r += htmltext(
- '
'
+ r += (
+ htmltext('')
+ % sortable
)
for trigger in self.action.triggers:
r += htmltext('- ') % trigger.id
diff --git a/wcs/qommon/static/css/dc2/admin.scss b/wcs/qommon/static/css/dc2/admin.scss
index 8b84f739e..96b097eee 100644
--- a/wcs/qommon/static/css/dc2/admin.scss
+++ b/wcs/qommon/static/css/dc2/admin.scss
@@ -50,6 +50,11 @@ ul.biglist span.handle,
text-align: left;
}
+ul.biglist.readonly span.handle {
+ opacity: 0.5;
+ cursor: not-allowed;
+}
+
ul.biglist li,
li.biglistitem {
list-style-type: none;
diff --git a/wcs/templates/wcs/backoffice/workflow-status.html b/wcs/templates/wcs/backoffice/workflow-status.html
index c22749c38..2f1c4971f 100644
--- a/wcs/templates/wcs/backoffice/workflow-status.html
+++ b/wcs/templates/wcs/backoffice/workflow-status.html
@@ -23,7 +23,7 @@
{% spaceless %}
{% if workflow.is_readonly %}
-