Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
b87f4fcf
Commit
b87f4fcf
authored
12 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
Stub that returns children in ipad-read-service
SVN: 27156
parent
27fa95d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis-ipad/ipad-example-data/ipad-ui/1/dss/reporting-plugins/ipad-read-service/ipad_read.py
+3
-0
3 additions, 0 deletions
...ui/1/dss/reporting-plugins/ipad-read-service/ipad_read.py
with
3 additions
and
0 deletions
openbis-ipad/ipad-example-data/ipad-ui/1/dss/reporting-plugins/ipad-read-service/ipad_read.py
+
3
−
0
View file @
b87f4fcf
...
...
@@ -18,6 +18,7 @@ def add_headers(builder):
may appear as children of other entities.
IMAGE_URL : A url for an image associated with this entity. If None or empty, no
image is shown.
CHILDREN : Child entities
PROPERTIES : Properties (metadata) that should be displayed for this entity.
"""
builder
.
addHeader
(
"
SUMMARY_HEADER
"
)
...
...
@@ -27,6 +28,7 @@ def add_headers(builder):
builder
.
addHeader
(
"
REFCON
"
)
builder
.
addHeader
(
"
GROUP
"
)
builder
.
addHeader
(
"
IMAGE_URL
"
)
builder
.
addHeader
(
"
CHILDREN
"
)
builder
.
addHeader
(
"
PROPERTIES
"
)
...
...
@@ -40,6 +42,7 @@ def add_row(builder, entry):
row
.
setCell
(
"
REFCON
"
,
entry
.
get
(
"
REFCON
"
))
row
.
setCell
(
"
GROUP
"
,
entry
.
get
(
"
GROUP
"
))
row
.
setCell
(
"
IMAGE_URL
"
,
entry
.
get
(
"
IMAGE_URL
"
))
row
.
setCell
(
"
CHILDREN
"
,
"
[]
"
)
row
.
setCell
(
"
PROPERTIES
"
,
str
(
entry
.
get
(
"
PROPERTIES
"
)))
def
material_to_dict
(
material
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment