Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
nexedi
/
slapos.core
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
13
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 153e5452
authored
2018-02-23 13:19:49 +0000
by
Rafael Monnerat
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
slapos_jio: Get current location/project at the present date.
1 parent
86779556
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Organisation_getComputerTrackingList.py
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Project_getComputerTrackingList.py
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Organisation_getComputerTrackingList.py
View file @
153e545
# This script might not be efficient to a large quantities of
# Computers
kw
=
{
"node_uid"
:
context
.
getUid
()}
from
DateTime
import
DateTime
kw
=
{
"node_uid"
:
context
.
getUid
(),
"at_date"
:
DateTime
()}
return
[
i
.
getObject
()
for
i
in
context
.
portal_simulation
.
getCurrentTrackingList
(
**
kw
)]
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/Project_getComputerTrackingList.py
View file @
153e545
# This script might not be efficient to a large quantities of
# Computers
from
DateTime
import
DateTime
kw
=
{
"project_uid"
:
context
.
getUid
()}
kw
=
{
"project_uid"
:
context
.
getUid
(),
"at_date"
:
DateTime
()}
return
[
i
.
getObject
()
for
i
in
context
.
portal_simulation
.
getCurrentTrackingList
(
**
kw
)]
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment