This commit is contained in:
Fred Tempez 2023-11-23 15:09:03 +01:00
commit 44e913a781
3 changed files with 5 additions and 5 deletions

View File

@ -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',
]);
}

View File

@ -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>

View File

@ -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({}));
});