.
This commit is contained in:
@@ -200,6 +200,7 @@ jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml )
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
{% if exams %}
|
||||
$("table").DataTable({
|
||||
columnDefs: [ {
|
||||
targets: [6,7,8,9,10],
|
||||
@@ -207,6 +208,7 @@ jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml )
|
||||
} ],
|
||||
"paging": false,
|
||||
});
|
||||
{% endif %}
|
||||
|
||||
$("#toggle-internal").click((evt) => {
|
||||
data = getGenericData();
|
||||
|
||||
@@ -1326,6 +1326,7 @@ class CidUserExamView(CidManagerRequiredMixin, SingleTableMixin, FilterView):
|
||||
context["longs_exams"] = longs_exams
|
||||
context["anatomy_exams"] = anatomy_exams
|
||||
context["cid_user_groups"] = cid_user_groups
|
||||
context["exams"] = True
|
||||
return context
|
||||
|
||||
class CidUserView(CidManagerRequiredMixin, SingleTableMixin, FilterView):
|
||||
|
||||
Reference in New Issue
Block a user