Commit b13c4f06 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/add_content.js

parent 6c2c0865
Pipeline #8804 passed with stage
in 11 seconds
......@@ -80,9 +80,11 @@ function addcontent(item) {
'<p class="card-text-lg small">' +
description +
'<br>' +
'<b><i class="fas fa-user"></i>' + lang_cont_person + '</b>: <a ' +
' href="' + item.item.author.hftURL + '" target ="_blank"> ' + item.item.author.firstName +
' ' + item.item.author.lastName + '</a> <br>' +
'<b><i class="fas fa-user"></i>' + lang_cont_person + '</b>: ' +
(item.item.author.map(author =>
'<a href="' + author.hftURL + '" target ="_blank"> ' +
author.firstName + ' ' + author.lastName + '</a>'
).join(', ')) + '<br>' +
'<b><i class="fas fa-star"></i>' + lang_keywords + '</b>: ' + item.item.keywords.join(', ') + '</br>' +
ExploreHTML +
YouTubeHTML +
......@@ -157,4 +159,4 @@ function addTeam(item) {
`
new_row.innerHTML = new_row.innerHTML + html_team
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment