Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
845cdd1e
Commit
845cdd1e
authored
May 25, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow extensibility.
parent
cb677ff1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestPerson.xml
...skins/vifib_hosting/HostingSubscription_requestPerson.xml
+8
-3
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestPerson.xml
View file @
845cdd1e
...
...
@@ -50,13 +50,18 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
<value>
<string>
if instance_xml is None:\n
instance_xml = context.getTextContent()\n
if state is None:\n
state = {\'request_start\': \'started\', \'request_destroy\': \'destroyed\', \'request_stop\': \'stopped\'}[context.getSlapState()]\n
\n
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
person.requestSoftwareInstance(\n
state=state,\n
software_release=context.getRootSoftwareReleaseUrl(),\n
software_title=context.getTitle(),\n
software_type=context.getSourceReference(),\n
instance_xml=
context.getTextContent()
,\n
instance_xml=
instance_xml
,\n
sla_xml=context.getSlaXml(),\n
shared=context.isRootSlave()\n
)\n
...
...
@@ -64,7 +69,7 @@ person.requestSoftwareInstance(\n
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
state
</string>
</value>
<value>
<string>
state
=None, instance_xml=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/vifib_web/bt/revision
View file @
845cdd1e
371
\ No newline at end of file
372
\ No newline at end of file
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