Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
a02e3525
Commit
a02e3525
authored
Jun 14, 2013
by
Kostas Papadimitriou
Browse files
helpdesk: Include UI_MEDIA_URL in template context
variable used as prefix for vm os icon urls
parent
51d8dbd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/helpdesk/views.py
View file @
a02e3525
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment