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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
cf92ed49
authored
May 08, 2014
by
cloud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idashb
parent
b49b026a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
circle/dashboard/views.py
+4
-1
No files found.
circle/dashboard/views.py
View file @
cf92ed49
...
...
@@ -241,7 +241,7 @@ class VmDetailView(CheckedDetailView):
'new_name'
:
self
.
__set_name
,
'new_description'
:
self
.
__set_description
,
'new_tag'
:
self
.
__add_tag
,
'deploy_local
'
:
self
.
__deploy_local
,
'deploy_local
l'
:
self
.
donothing
,
'to_remove'
:
self
.
__remove_tag
,
'port'
:
self
.
__add_port
,
'new_network_vlan'
:
self
.
__new_network
,
...
...
@@ -250,6 +250,9 @@ class VmDetailView(CheckedDetailView):
if
request
.
POST
.
get
(
k
)
is
not
None
:
return
v
(
request
)
def
donothing
(
self
,
request
):
pass
def
__deploy_local
(
self
,
request
):
self
.
object
=
self
.
get_object
()
if
not
self
.
object
.
has_level
(
request
.
user
,
'owner'
):
...
...
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