summaryrefslogtreecommitdiffstats
path: root/modules-available/runmode/templates
diff options
context:
space:
mode:
authorSimon Rettberg2018-01-15 17:19:56 +0100
committerSimon Rettberg2018-01-15 17:19:56 +0100
commit9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06 (patch)
treeb7adea2ac4b93f2cc13348e2cf2ce164ca4c3fe4 /modules-available/runmode/templates
parent[statistics] Fix runtime filter (had math backwards) (diff)
downloadslx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.gz
slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.xz
slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.zip
[runmode] Do not allow re-assigning clients to new runmode if old mode doesn't support the generic editor
Doing so might leave some stale data in the old module, so we better prevent it so the user has to manually remove the client from the old runmode using the non-generic way (module specific) first.
Diffstat (limited to 'modules-available/runmode/templates')
-rw-r--r--modules-available/runmode/templates/module-machine-list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/runmode/templates/module-machine-list.html b/modules-available/runmode/templates/module-machine-list.html
index 61bbbad9..283fb393 100644
--- a/modules-available/runmode/templates/module-machine-list.html
+++ b/modules-available/runmode/templates/module-machine-list.html
@@ -41,8 +41,8 @@
</button>
{{/canedit}}
{{#deleteUrl}}
- <a class="btn btn-danger btn-sm" href="?do={{module}}&amp;{{deleteUrl}}{{modeid}}">
- <span class="glyphicon glyphicon-trash"></span>
+ <a class="btn btn-default btn-sm" href="?do={{module}}&amp;{{deleteUrl}}{{modeid}}">
+ <span class="glyphicon glyphicon-edit"></span>
</a>
{{/deleteUrl}}
</td>