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
0e897b99
Commit
0e897b99
authored
13 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
MINOR: Cosmetic fixes to the dashboard -- show strain names if there are not too many of them
SVN: 24017
parent
de8040d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eu_basynthec/source/html/browser/basynthec-dashboard.html
+7
-3
7 additions, 3 deletions
eu_basynthec/source/html/browser/basynthec-dashboard.html
with
7 additions
and
3 deletions
eu_basynthec/source/html/browser/basynthec-dashboard.html
+
7
−
3
View file @
0e897b99
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
<!-- <script type="text/javascript" src="openbis-request-cache.js"></script> -->
<!-- <script type="text/javascript" src="openbis-request-cache.js"></script> -->
<script>
<script>
//
basynthec = new openbis_basynthec('https://basynthec.ethz.ch/openbis/openbis', 'https://basynthec.ethz.ch/datastore_server');
basynthec
=
new
openbis_basynthec
(
'
https://basynthec.ethz.ch/openbis/openbis
'
,
'
https://basynthec.ethz.ch/datastore_server
'
);
basynthec
=
new
openbis_basynthec
(
'
http://localhost:8888/openbis/openbis
'
,
'
http://localhost:8889/datastore_server
'
);
//
basynthec = new openbis_basynthec('http://localhost:8888/openbis/openbis', 'http://localhost:8889/datastore_server');
// The elements for each of the views
// The elements for each of the views
var
vis
,
od600View
,
metabolomicsView
,
transcriptomicsView
,
proteomicsView
;
var
vis
,
od600View
,
metabolomicsView
,
transcriptomicsView
,
proteomicsView
;
...
@@ -194,7 +194,11 @@ function updateView(aView, type)
...
@@ -194,7 +194,11 @@ function updateView(aView, type)
.
selectAll
(
"
td
"
)
.
selectAll
(
"
td
"
)
.
data
(
function
(
d
)
{
.
data
(
function
(
d
)
{
var
dateString
=
timeformat
(
new
Date
(
d
.
registrationDetails
.
registrationDate
));
var
dateString
=
timeformat
(
new
Date
(
d
.
registrationDetails
.
registrationDate
));
var
strainString
=
""
+
d
.
properties
[
"
STRAIN_NAMES
"
].
split
(
"
,
"
).
length
+
"
strain(s)
"
;
var
strainNames
=
d
.
properties
[
"
STRAIN_NAMES
"
].
split
(
"
,
"
);
var
strainString
=
(
strainNames
.
length
<
3
)
?
strainNames
.
join
(
"
"
)
:
""
+
strainNames
.
length
+
"
strain(s)
"
;
return
[
dateString
,
d
.
registrationDetails
.
userEmail
,
strainString
]
return
[
dateString
,
d
.
registrationDetails
.
userEmail
,
strainString
]
})
})
.
enter
()
.
enter
()
...
...
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