Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
16bac875
authored
Jul 27, 2016
by
Dóbé Péter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: change console-access activity icon
parent
3cff165b
Pipeline
#148
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
circle/dashboard/views/vm.py
+2
-0
No files found.
circle/dashboard/views/vm.py
View file @
16bac875
...
@@ -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"
...
...
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