Commit a02e3525 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

helpdesk: Include UI_MEDIA_URL in template context

variable used as prefix for vm os icon urls
parent 51d8dbd0
......@@ -51,6 +51,7 @@ from synnefo.db.models import VirtualMachine, NetworkInterface, Network
# server actions specific imports
from synnefo.api import servers
from synnefo.logic import backend as servers_backend
from synnefo.ui.views import UI_MEDIA_URL
logger = logging.getLogger(__name__)
......@@ -246,7 +247,8 @@ def account(request, search_query):
'account_name': account_name,
'token': request.user['auth_token'],
'networks': networks,
'HELPDESK_MEDIA_URL': HELPDESK_MEDIA_URL
'HELPDESK_MEDIA_URL': HELPDESK_MEDIA_URL,
'UI_MEDIA_URL': UI_MEDIA_URL
}
return direct_to_template(request, "helpdesk/account.html",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment