mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-20 14:03:49 +03:00
Added "release" icon (trash)
This commit is contained in:
parent
a185baccdd
commit
22a8933e82
@ -52,7 +52,7 @@ import logging
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
__updated__ = '2017-02-27'
|
__updated__ = '2017-10-25'
|
||||||
|
|
||||||
|
|
||||||
def about(request):
|
def about(request):
|
||||||
@ -131,11 +131,13 @@ def index(request):
|
|||||||
services.append({
|
services.append({
|
||||||
'id': 'A' + svr.uuid,
|
'id': 'A' + svr.uuid,
|
||||||
'name': svr.name,
|
'name': svr.name,
|
||||||
|
'visual_name': svr.visual_name,
|
||||||
'description': svr.deployed_service.comments,
|
'description': svr.deployed_service.comments,
|
||||||
'group': group,
|
'group': group,
|
||||||
'transports': trans,
|
'transports': trans,
|
||||||
'imageId': imageId,
|
'imageId': imageId,
|
||||||
'show_transports': svr.deployed_service.show_transports,
|
'show_transports': svr.deployed_service.show_transports,
|
||||||
|
'allow_users_remove': svr.deployed_service.allow_users_remove,
|
||||||
'maintenance': svr.deployed_service.isInMaintenance(),
|
'maintenance': svr.deployed_service.isInMaintenance(),
|
||||||
'not_accesible': not svr.deployed_service.isAccessAllowed(),
|
'not_accesible': not svr.deployed_service.isAccessAllowed(),
|
||||||
'in_use': svr.in_use,
|
'in_use': svr.in_use,
|
||||||
@ -188,11 +190,13 @@ def index(request):
|
|||||||
services.append({
|
services.append({
|
||||||
'id': 'F' + svr.uuid,
|
'id': 'F' + svr.uuid,
|
||||||
'name': svr.name,
|
'name': svr.name,
|
||||||
|
'visual_name': svr.visual_name,
|
||||||
'description': svr.comments,
|
'description': svr.comments,
|
||||||
'group': group,
|
'group': group,
|
||||||
'transports': trans,
|
'transports': trans,
|
||||||
'imageId': imageId,
|
'imageId': imageId,
|
||||||
'show_transports': svr.show_transports,
|
'show_transports': svr.show_transports,
|
||||||
|
'allow_users_remove': svr.allow_users_remove,
|
||||||
'maintenance': svr.isInMaintenance(),
|
'maintenance': svr.isInMaintenance(),
|
||||||
'not_accesible': not svr.isAccessAllowed(),
|
'not_accesible': not svr.isAccessAllowed(),
|
||||||
'in_use': in_use,
|
'in_use': in_use,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user