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
d4fc177a
Commit
d4fc177a
authored
9 years ago
by
juanf
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-1959 : Show gene name instead of gene number in ELN plate hierarchy view
SVN: 34256
parent
e2af58a9
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
plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/PrintUtil.js
+9
-9
9 additions, 9 deletions
.../eln-lims/1/as/webapps/eln-lims/html/js/util/PrintUtil.js
with
9 additions
and
9 deletions
plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/PrintUtil.js
+
9
−
9
View file @
d4fc177a
...
...
@@ -25,7 +25,7 @@ var PrintUtil = new function() {
$
(
newWindow
.
document
.
body
).
html
(
pageToPrint
);
}
this
.
get
ParentsChildrenText
=
function
(
samplesList
)
{
this
.
_
get
CodesFromSamples
=
function
(
samplesList
)
{
var
allSamplesByType
=
{};
if
(
samplesList
)
{
...
...
@@ -110,12 +110,12 @@ var PrintUtil = new function() {
if
(
isSingleColumn
)
{
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
2
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
propertyLabel
).
append
(
"
<br>
"
).
append
(
propertyContent
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
2
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
propertyLabel
+
"
:
"
).
append
(
"
<br>
"
).
append
(
propertyContent
)))
);
}
else
{
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
propertyLabel
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
propertyLabel
+
"
:
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
propertyContent
)))
);
}
...
...
@@ -123,21 +123,21 @@ var PrintUtil = new function() {
}
//Show Parent Codes
var
allParentCodesAsText
=
this
.
get
ParentsChildrenText
(
entity
.
parents
);
var
allParentCodesAsText
=
this
.
_
get
CodesFromSamples
(
entity
.
parents
);
if
(
allParentCodesAsText
.
length
>
0
)
{
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Parents
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Parents
:
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
allParentCodesAsText
)))
);
}
//Show Children Codes
var
allChildrenCodesAsText
=
this
.
get
ParentsChildrenText
(
entity
.
children
);
var
allChildrenCodesAsText
=
this
.
_
get
CodesFromSamples
(
entity
.
children
);
if
(
allChildrenCodesAsText
.
length
>
0
)
{
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Children
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Children
:
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
allChildrenCodesAsText
)))
);
}
...
...
@@ -145,14 +145,14 @@ var PrintUtil = new function() {
//Show Modification Date
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Modification Date
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Modification Date
:
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
new
Date
(
entity
.
registrationDetails
[
"
modificationDate
"
]))))
);
//Show Creation Date
$newInspectorTable
.
append
(
$
(
"
<tr>
"
)
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Registration Date
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
""
}).
append
(
"
Registration Date
:
"
)))
.
append
(
$
(
"
<td>
"
,
{
"
class
"
:
"
property
"
,
"
colspan
"
:
"
1
"
}).
append
(
$
(
"
<p>
"
,
{
"
class
"
:
"
inspectorLineBreak
"
}).
append
(
new
Date
(
entity
.
registrationDetails
[
"
registrationDate
"
]))))
);
...
...
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