Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
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
iPPIDB
ippidb-web
Merge requests
!25
prepare for v1.0.7
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
prepare for v1.0.7
master
into
release
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Hervé MENAGER
requested to merge
master
into
release
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
multiple fixes to schema.org compound markup
0
0
Merge request reports
Compare
release
release (base)
and
latest version
latest version
4a9b26b2
1 commit,
4 years ago
1 file
+
17
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ippisite/ippidb/templates/compound_card.html
+
17
−
3
Options
@@ -561,17 +561,31 @@
{
"
url
"
:
"
{{ request.build_absolute_uri }}
"
,
{
%
if
compound
.
inchi
%
}
"
inChI
"
:
"
{{ compound.inchi }}
"
,
{
%
endif
%
}
{
%
if
compound
.
iupac_name
%
}
"
name
"
:
"
{{ compound.iupac_name }}
"
,
{
%
endif
%
}
{
%
if
compound
.
iupac_name
%
}
"
iupacName
"
:
"
{{ compound.iupac_name }}
"
,
{
%
endif
%
}
{
%
if
compound
.
molecular_weight
%
}
"
molecularWeight
"
:
{{
compound
.
molecular_weight
}},
{
%
endif
%
}
"
identifier
"
:
"
{{ compound.id }}
"
,
"
inChIKey
"
:
"
{{ compound.inchi }}
"
,
{
%
if
compound
.
inchikey
%
}
"
inChIKey
"
:
"
{{ compound.inchikey }}
"
,
{
%
endif
%
}
"
@type
"
:
"
MolecularEntity
"
,
"
image
"
:
"
https://www.ebi.ac.uk/chembl/api/data/image/CHEMBL3623057.svg
"
,
{
%
if
compound
.
chembl_id
%
}
"
image
"
:
"
https://www.ebi.ac.uk/chembl/api/data/image/{{chembl_id}}.svg
"
,
{
%
endif
%
}
{
%
if
compound
.
canonical_smile
%
}
"
smiles
"
:
[
"
{{ compound.canonical_smile }}
"
"
{{ compound.canonical_smile
|escapejs
}}
"
],
{
%
endif
%
}
{
%
if
compound
.
sameas_urls
%
}
"
sameAs
"
:
{{
compound
.
sameas_urls
|
safe
}},
{
%
endif
%
}