mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 02:17:53 +00:00
adding lawfulbasis, consentmethod, referencecode fields to consent records
This commit is contained in:
@@ -152,7 +152,13 @@
|
|||||||
d = '<div class="p-1 bd-highlight">When: ' + dateFormat(row.when) + '<br/>' +
|
d = '<div class="p-1 bd-highlight">When: ' + dateFormat(row.when) + '<br/>' +
|
||||||
'Expired: ' + dateFormat(row.endtime) + '</div>';
|
'Expired: ' + dateFormat(row.endtime) + '</div>';
|
||||||
}
|
}
|
||||||
var identity = '<div class="p-1 flex-fill bd-highlight"><strong>'+ msg +'</strong><br/><small>Identity: ' + row.who + ' (' + row.mode + ')</small></div>'
|
var info = '<div class="p-1 flex-fill bd-highlight"><strong>'+ msg +'</strong><br/>';
|
||||||
|
info = info + '<small>Identity: ' + row.who + ' (' + row.mode + ')</small><br/>';
|
||||||
|
info = info + '<small>Lawful basis: ' + row.lawfulbasis + ' (' + row.consentmethod+ ')</small><br/>';
|
||||||
|
if (row.referencecode) {
|
||||||
|
info = info + '<small>Reference method: ' + row.referencecode + '</small><br/>';
|
||||||
|
}
|
||||||
|
info = info + '</div>'
|
||||||
var cancel = "<a href=\"javascript:confirmWithdrawal('" + row.brief + "');\">cancel</a>";
|
var cancel = "<a href=\"javascript:confirmWithdrawal('" + row.brief + "');\">cancel</a>";
|
||||||
var accept = "<a href=\"javascript:acceptConsent('" + row.brief + "');\">accept</a>";
|
var accept = "<a href=\"javascript:acceptConsent('" + row.brief + "');\">accept</a>";
|
||||||
var op = cancel;
|
var op = cancel;
|
||||||
@@ -160,7 +166,7 @@
|
|||||||
op = accept;
|
op = accept;
|
||||||
}
|
}
|
||||||
var status = '<div class="p-1 bd-highlight">Current status: ' + row.status + '</br><center>' + op + '</center></div>'
|
var status = '<div class="p-1 bd-highlight">Current status: ' + row.status + '</br><center>' + op + '</center></div>'
|
||||||
return start + d + identity + status + '</div>';
|
return start + d + info + status + '</div>';
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user