forked from ZwiiCMS-Team/ZwiiCampus
Merge branch 'master' of https://forge.chapril.org/fredtempez/ZwiiLMS
This commit is contained in:
commit
44e913a781
@ -557,7 +557,7 @@ class course extends common
|
|||||||
|
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => sprintf(helper::translate('Inscriptions dans le contenu %s'), $this->getData(['course', $courseId, 'title'])),
|
'title' => sprintf(helper::translate('Inscriptions %s'), $this->getData(['course', $courseId, 'title'])),
|
||||||
'view' => 'users',
|
'view' => 'users',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
<?php echo template::button('userDeleteAll', [
|
<?php echo template::button('userDeleteAll', [
|
||||||
'class' => 'buttonGreen',
|
'class' => 'buttonGreen',
|
||||||
'href' => helper::baseUrl() . 'course/usersAdd/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/usersAdd/' . $this->getUrl(2),
|
||||||
'value' => template::ico('plus'),
|
'value' => template::ico('users'),
|
||||||
'help' => 'Inscrire',
|
'help' => 'Inscription',
|
||||||
]) ?>
|
]) ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,8 +16,8 @@ $(document).ready((function () {
|
|||||||
$("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () {
|
$("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () {
|
||||||
saveCheckboxState();
|
saveCheckboxState();
|
||||||
$("#courseUsersAddForm").submit();
|
$("#courseUsersAddForm").submit();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var table = $('#dataTables').DataTable({
|
var table = $('#dataTables').DataTable({
|
||||||
language: {
|
language: {
|
||||||
url: "core/vendor/datatables/french.json"
|
url: "core/vendor/datatables/french.json"
|
||||||
@ -27,7 +27,6 @@ $(document).ready((function () {
|
|||||||
target: 3,
|
target: 3,
|
||||||
orderable: false,
|
orderable: false,
|
||||||
searchable: false,
|
searchable: false,
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
@ -46,6 +45,7 @@ $(document).ready((function () {
|
|||||||
|
|
||||||
// Empty local storage after submit
|
// Empty local storage after submit
|
||||||
$("#courseUsersAddSubmit").on("click", function () {
|
$("#courseUsersAddSubmit").on("click", function () {
|
||||||
|
|
||||||
localStorage.setItem('checkboxState', JSON.stringify({}));
|
localStorage.setItem('checkboxState', JSON.stringify({}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user