Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
zedflow
fgdi
Commits
920908fe
Commit
920908fe
authored
Jan 04, 2024
by
Traboulsi
Browse files
Update public/js/add_content.js
parent
9f15112a
Pipeline
#9021
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/add_content.js
View file @
920908fe
...
...
@@ -78,7 +78,7 @@ function addcontent(item) {
var
sdgProjectHTML
=
''
if
(
'
sdgImage
'
in
item
.
links
)
{
var
sdgProjectLink
=
item
.
links
.
sdgImage
sdgProjectHTML
=
`<a class="btn btn-sm btn-outline-
primary
mt-1" href="
${
sdgProjectLink
}
" target="_blank"> <i class="fas fa-book"></i>
Publication
</a> `
sdgProjectHTML
=
`<a class="btn btn-sm btn-outline-
light
mt-1" href="
${
sdgProjectLink
}
" target="_blank"> <i class="fas fa-book"></i>
SDG Project
</a> `
}
/* var sdgProjectHTML = '';
if ('sdgImage' in item) {
...
...
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