Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
8a5a9251
Commit
8a5a9251
authored
Aug 31, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
legends: use translated title if available in conf
parent
216e2839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
extras_explorerjs.js
twmain/extras_explorerjs.js
+7
-1
No files found.
twmain/extras_explorerjs.js
View file @
8a5a9251
...
...
@@ -235,8 +235,14 @@ function set_ClustersLegend ( daclass, groupedByTicks ) {
$
(
"#legend-for-clusters"
).
hide
()
}
else
{
let
daclassLabel
=
daclass
if
(
TW
.
conf
.
facetOptions
&&
TW
.
conf
.
facetOptions
[
daclass
]
&&
TW
.
conf
.
facetOptions
[
daclass
].
menutransl
)
{
daclassLabel
=
TW
.
conf
.
facetOptions
[
daclass
].
menutransl
}
var
LegendDiv
=
""
LegendDiv
+=
` <div class="legend-title">
${
daclass
}
</div>`
LegendDiv
+=
` <div class="legend-title">
${
daclass
Label
}
</div>`
LegendDiv
+=
' <div class="legend-scale">'
LegendDiv
+=
' <ul class="legend-labels">'
...
...
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