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
0bf0bcf0
Commit
0bf0bcf0
authored
Jan 08, 2024
by
Traboulsi
Browse files
Update public/js/add_content.js
parent
b835314d
Pipeline
#9035
passed with stage
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/add_content.js
View file @
0bf0bcf0
...
...
@@ -83,8 +83,7 @@ function addcontent(item) {
href="
${
sdgProjectLink
}
"
target="_blank"
onclick="var popupWindow=window.open('', '_blank'); popupWindow.document.body.innerHTML='<div style=\'text-align: center;\'><h2>SDG</h2><img src=\'
${
sdgProjectLink
}
\' alt=\'SDG Project Image\' style=\'width: 100%; max-width: 400px; background-color: white;\'><p>
${
titleLink
}
</p></div>'; popupWindow.document.title='
${
titleLink
}
';">
<img src="imgs/thumbnails/sdg.png" alt="SDG" width="20" height="20"> Sustainable Development Goals
</a> `
;
<img src="imgs/thumbnails/sdg.png" alt="SDG" width="20" height="20"> Global Goals </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