Commit d58173b9 authored by JOE XMG's avatar JOE XMG
Browse files

update

parent e564a789
Pipeline #6498 passed with stage
in 19 seconds
{
"item": {
"title": "Test",
"project": "",
"author": {
"firstName": "...",
"lastName": "...",
"hftURL": "..."
},
"project_year_start": "2021",
"project_year_end": "2022",
"project_is_on_going": true,
"imageLink": "imgs/hft.jpg",
"keywords": ["..."],
"description_en": "...",
"description_de": "...",
"internal":true
},
"links": {
"demo": "...",
"publication": "...",
"youtube": "...",
"project": "..."
},
"refIndex": 15
}
\ No newline at end of file
......@@ -59,6 +59,14 @@ function addcontent(item) {
repoHTML = `<a class="btn btn-sm btn-outline-info mt-1" href="${repoLink}" target="_blank"> <i class="fa fa-gitlab"></i> Git/Repository </a>`
}
if ('internal' in item.item) {
if (item.item.internal) {
var internal_tag = `<span class="badge bg-secondary" style="color: white;">Internal Access Only</span> <br>`
description = internal_tag + description
}
}
new_row.innerHTML = new_row.innerHTML + '<div class="col-lg-4">' +
'<div class="card mb-4 shadow-sm extension overflow-auto">' +
'<h5>' + item.item.title + ' <span class="content-subtitle text-muted"> ' + item.item.project + '</span></h5>' +
......
Markdown is supported
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