mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Fix spacing
This commit is contained in:
@@ -756,15 +756,15 @@ class HistoryController(BaseUIController, SharableMixin, UsesAnnotations, UsesIt
|
||||
for a in current_actions:
|
||||
if a.action == action.action:
|
||||
in_roles.add(a.role)
|
||||
inputs.append({ 'type' : 'select',
|
||||
'multiple' : True,
|
||||
'optional' : True,
|
||||
'individual': True,
|
||||
'name' : action_key,
|
||||
'label' : action.action,
|
||||
'help' : action.description,
|
||||
'options' : [(role.name, trans.security.encode_id(role.id)) for role in set(all_roles)],
|
||||
'value' : [trans.security.encode_id(role.id) for role in in_roles]})
|
||||
inputs.append({'type' : 'select',
|
||||
'multiple' : True,
|
||||
'optional' : True,
|
||||
'individual': True,
|
||||
'name' : action_key,
|
||||
'label' : action.action,
|
||||
'help' : action.description,
|
||||
'options' : [(role.name, trans.security.encode_id(role.id)) for role in set(all_roles)],
|
||||
'value' : [trans.security.encode_id(role.id) for role in in_roles]})
|
||||
return {'title' : 'Change default dataset permissions for history \'%s\'' % history.name, 'inputs' : inputs}
|
||||
else:
|
||||
permissions = {}
|
||||
|
||||
@@ -11,7 +11,7 @@ from paste.httpexceptions import HTTPNotFound, HTTPBadGateway
|
||||
|
||||
from galaxy import web
|
||||
from galaxy import util
|
||||
from galaxy.util import listify, Params, string_as_bool, FILENAME_VALID_CHARS
|
||||
from galaxy.util import listify, string_as_bool, FILENAME_VALID_CHARS
|
||||
|
||||
from galaxy.web.base import controller
|
||||
from galaxy.model.item_attrs import UsesAnnotations
|
||||
|
||||
Reference in New Issue
Block a user