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
9f50d38b
Commit
9f50d38b
authored
Dec 12, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: Update order of fields
parent
5fa466c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Alarm_assertHostingSubscriptionHasPredecessor.py
...os_cloud/Alarm_assertHostingSubscriptionHasPredecessor.py
+2
-3
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
...m/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
+2
-2
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Alarm_assertHostingSubscriptionHasPredecessor.py
View file @
9f50d38b
...
@@ -4,10 +4,9 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, NegatedQuery
...
@@ -4,10 +4,9 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, NegatedQuery
portal
.
portal_catalog
.
searchAndActivate
(
portal
.
portal_catalog
.
searchAndActivate
(
portal_type
=
'Hosting Subscription'
,
portal_type
=
'Hosting Subscription'
,
validation_state
=
'validated'
,
validation_state
=
'validated'
,
where_expression
=
"related_predecessor_title_1_catalog.title <> catalog.title
"
,
related_predecessor_but_with_different_title_than_catalog_title
=
"%
"
,
predecessor_title
=
NegatedQuery
(
SimpleQuery
(
predecessor_title
=
None
,
comparison_operator
=
'is'
)),
predecessor_title
=
NegatedQuery
(
SimpleQuery
(
predecessor_title
=
None
,
comparison_operator
=
'is'
)),
method_id
=
'HostingSubscription_assertPredecessor'
,
method_id
=
'HostingSubscription_assertPredecessor'
,
activate_kw
=
{
'tag'
:
tag
}
activate_kw
=
{
'tag'
:
tag
})
)
context
.
activate
(
after_tag
=
tag
).
getId
()
context
.
activate
(
after_tag
=
tag
).
getId
()
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
View file @
9f50d38b
...
@@ -118,10 +118,10 @@
...
@@ -118,10 +118,10 @@
<value>
<value>
<list>
<list>
<string>
my_last_contact_date
</string>
<string>
my_last_contact_date
</string>
<string>
my_slapos_version
</string>
<string>
my_os_type
</string>
<string>
my_os_type
</string>
<string>
my_python_version
</string>
<string>
my_public_ipv4_address
</string>
<string>
my_public_ipv4_address
</string>
<string>
my_python_version
</string>
<string>
my_slapos_version
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
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