Commit 16bac875 by Dóbé Péter

dashboard: change console-access activity icon

parent 3cff165b
...@@ -798,6 +798,8 @@ def _get_activity_icon(act): ...@@ -798,6 +798,8 @@ def _get_activity_icon(act):
op = act.get_operation() op = act.get_operation()
if op and op.id in vm_ops: if op and op.id in vm_ops:
return vm_ops[op.id].icon return vm_ops[op.id].icon
elif act.activity_code == u'vm.Instance.console-accessed':
return "terminal"
else: else:
return "cog" return "cog"
......
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 sign in to comment