Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
6958e898
Commit
6958e898
authored
Jul 27, 2019
by
Georg Huhs
Browse files
small fixes which should go to production
parent
c5fd64b1
Pipeline
#52533
passed with stage
in 5 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
6958e898
This diff is collapsed.
Click to expand it.
client/src/common/util.js
View file @
6958e898
...
...
@@ -395,7 +395,7 @@ function getMaterialTitle(data, html){
title
=
getSubscriptedFormula
(
data
.
formula_reduced
);
if
(
html
!==
undefined
&&
html
===
false
)
title
=
data
.
formula_reduced
;
if
(
data
.
space_group_number
!==
null
)
if
(
data
.
space_group_number
!==
null
&&
data
.
space_group_number
!==
undefined
)
title
+=
'
- space group
'
+
data
.
space_group_number
;
//return '<span style="font-size: 0.9em">'+title+' </span>';
return
title
;
...
...
client/src/material-mod/MaterialMod.js
View file @
6958e898
...
...
@@ -300,7 +300,7 @@ class StructureViewerWrapper{
<div style="float: left; position:relative;" >
<img class="view-reset" style="cursor: pointer;" height="18px"
src="
${
util
.
IMAGE_DIR
}
reset.svg" />
<div class="view-reset-tooltip" >
Set original
view </div>
<div class="view-reset-tooltip" >
Reset
view </div>
</div>
<!--
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment