git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c20b19
)
remove "Images" tab from Deployment Admin
author
Tony Mack
<tmack@tux.cs.princeton.edu>
Thu, 15 Jan 2015 19:49:14 +0000
(14:49 -0500)
committer
Tony Mack
<tmack@tux.cs.princeton.edu>
Thu, 15 Jan 2015 19:49:14 +0000
(14:49 -0500)
planetstack/core/admin.py
patch
|
blob
|
history
diff --git
a/planetstack/core/admin.py
b/planetstack/core/admin.py
index
c708981
..
5f9efd2
100644
(file)
--- a/
planetstack/core/admin.py
+++ b/
planetstack/core/admin.py
@@
-633,7
+633,7
@@
class DeploymentAdmin(PlanetStackBaseAdmin):
# nodes no longer direclty connected to deployments
#suit_form_tabs =(('sites','Deployment Details'),('nodes','Nodes'),('deploymentprivileges','Privileges'),('tags','Tags'),('imagedeployments','Images'))
# nodes no longer direclty connected to deployments
#suit_form_tabs =(('sites','Deployment Details'),('nodes','Nodes'),('deploymentprivileges','Privileges'),('tags','Tags'),('imagedeployments','Images'))
- suit_form_tabs =(('sites','Deployment Details'),('deploymentprivileges','Privileges')
,,('imagedeployments','Images')
)
+ suit_form_tabs =(('sites','Deployment Details'),('deploymentprivileges','Privileges'))
def get_form(self, request, obj=None, **kwargs):
if request.user.isReadOnlyUser():
def get_form(self, request, obj=None, **kwargs):
if request.user.isReadOnlyUser():