Add-on: Change 'No Cluster' to 'All'
In the 'Cluster' drop-down, change the label and tooltip of the 'No Cluster' option. The functionality is still the same, it causes the job to be submitted without cluster assigned. The wording now reflect Flamenco's behaviour better, instead of describing this technical aspect. Old: "No Cluster", "No cluster assigned, any worker can handle this job" New: "All", "No specific cluster assigned, any worker can handle this job"
This commit is contained in:
parent
b74db1daed
commit
0e0fddc076
@ -42,7 +42,7 @@ def _get_enum_items(self, context):
|
|||||||
prefs = preferences.get(context)
|
prefs = preferences.get(context)
|
||||||
|
|
||||||
_enum_items = [
|
_enum_items = [
|
||||||
("-", "No Cluster", "No cluster assigned, any worker can handle this job"),
|
("-", "All", "No specific cluster assigned, any worker can handle this job"),
|
||||||
]
|
]
|
||||||
_enum_items.extend(
|
_enum_items.extend(
|
||||||
(cluster.id, cluster.name, cluster.description)
|
(cluster.id, cluster.name, cluster.description)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user