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
4dcc385f
Commit
4dcc385f
authored
Feb 22, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_trial: Save sla_xml and subject_list.
parent
aa105b2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
106 additions
and
3 deletions
+106
-3
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/TrialRequest_view.xml
...plateItem/portal_skins/slapos_trial/TrialRequest_view.xml
+3
-2
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/TrialRequest_view/my_sla_xml.xml
...ortal_skins/slapos_trial/TrialRequest_view/my_sla_xml.xml
+101
-0
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/WebSite_requestFreeTrialProxy.py
...ortal_skins/slapos_trial/WebSite_requestFreeTrialProxy.py
+2
-1
No files found.
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/TrialRequest_view.xml
View file @
4dcc385f
...
@@ -65,8 +65,7 @@
...
@@ -65,8 +65,7 @@
<string>
my_url_string
</string>
<string>
my_url_string
</string>
<string>
my_text_content
</string>
<string>
my_text_content
</string>
<string>
my_root_slave
</string>
<string>
my_root_slave
</string>
<string>
my_specialise_title_list
</string>
<string>
my_sla_xml
</string>
<string>
my_aggregate_title_list
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -87,6 +86,8 @@
...
@@ -87,6 +86,8 @@
<string>
my_title
</string>
<string>
my_title
</string>
<string>
my_default_email_text
</string>
<string>
my_default_email_text
</string>
<string>
my_source_reference
</string>
<string>
my_source_reference
</string>
<string>
my_specialise_title_list
</string>
<string>
my_aggregate_title_list
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/TrialRequest_view/my_sla_xml.xml
0 → 100644
View file @
4dcc385f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
editable
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_sla_xml
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_text_area_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Root SLA XML
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_trial_request/SkinTemplateItem/portal_skins/slapos_trial/WebSite_requestFreeTrialProxy.py
View file @
4dcc385f
...
@@ -42,7 +42,8 @@ trial = context.trial_request_module.newContent(
...
@@ -42,7 +42,8 @@ trial = context.trial_request_module.newContent(
text_content
=
trial_configuration
[
"instance_xml"
],
text_content
=
trial_configuration
[
"instance_xml"
],
start_date
=
now
,
start_date
=
now
,
stop_date
=
now
+
30
,
stop_date
=
now
+
30
,
root_slave
=
trial_configuration
[
"shared"
]
root_slave
=
trial_configuration
[
"shared"
],
subject_list
=
trial_configuration
[
"subject_list"
]
)
)
trial
.
setDefaultEmailText
(
email
)
trial
.
setDefaultEmailText
(
email
)
...
...
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