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
|
||||
$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',
|
||||
]);
|
||||
}
|
||||
|
@ -25,8 +25,8 @@
|
||||
<?php echo template::button('userDeleteAll', [
|
||||
'class' => 'buttonGreen',
|
||||
'href' => helper::baseUrl() . 'course/usersAdd/' . $this->getUrl(2),
|
||||
'value' => template::ico('plus'),
|
||||
'help' => 'Inscrire',
|
||||
'value' => template::ico('users'),
|
||||
'help' => 'Inscription',
|
||||
]) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -16,8 +16,8 @@ $(document).ready((function () {
|
||||
$("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () {
|
||||
saveCheckboxState();
|
||||
$("#courseUsersAddForm").submit();
|
||||
|
||||
});
|
||||
|
||||
var table = $('#dataTables').DataTable({
|
||||
language: {
|
||||
url: "core/vendor/datatables/french.json"
|
||||
@ -27,7 +27,6 @@ $(document).ready((function () {
|
||||
target: 3,
|
||||
orderable: false,
|
||||
searchable: false,
|
||||
|
||||
}
|
||||
]
|
||||
});
|
||||
@ -46,6 +45,7 @@ $(document).ready((function () {
|
||||
|
||||
// Empty local storage after submit
|
||||
$("#courseUsersAddSubmit").on("click", function () {
|
||||
|
||||
localStorage.setItem('checkboxState', JSON.stringify({}));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user