Skip to content
Snippets Groups Projects
Commit 9e33570e authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

rename CSS class for batch action in dialog, fixes #279

parent 14adcd4c
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<thead> <thead>
<tr class="sortable"> <tr class="sortable">
<th style="width: 45%;" class="<?= vips_sort_class($sort === 'test_title', $desc) ?>"> <th style="width: 45%;" class="<?= vips_sort_class($sort === 'test_title', $desc) ?>">
<input type="checkbox" data-proxyfor=".batch_select" data-activates=".batch_action" title="<?= _vips('Alle Aufgaben auswählen') ?>"> <input type="checkbox" data-proxyfor=".batch_select_d" data-activates=".batch_action_d" title="<?= _vips('Alle Aufgaben auswählen') ?>">
<a href="<?= $controller->link_for('sheets/copy_assignment_dialog', <a href="<?= $controller->link_for('sheets/copy_assignment_dialog',
compact('search_filter') + ['sort' => 'test_title', 'desc' => $sort === 'test_title' && !$desc]) ?>" data-dialog="size=1200x800"> compact('search_filter') + ['sort' => 'test_title', 'desc' => $sort === 'test_title' && !$desc]) ?>" data-dialog="size=1200x800">
<?= _vips('Aufgabenblatt') ?> <?= _vips('Aufgabenblatt') ?>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<tr> <tr>
<td> <td>
<label class="undecorated"> <label class="undecorated">
<input class="batch_select" type="checkbox" name="assignment_ids[]" value="<?= $assignment['id'] ?>"> <input class="batch_select_d" type="checkbox" name="assignment_ids[]" value="<?= $assignment['id'] ?>">
<?= htmlReady($assignment['test_title']) ?> <?= htmlReady($assignment['test_title']) ?>
<a href="<?= $controller->link_for('sheets/show_assignment', ['cid' => $course_id, 'assignment_id' => $assignment['id']]) ?>" target="_blank"> <a href="<?= $controller->link_for('sheets/show_assignment', ['cid' => $course_id, 'assignment_id' => $assignment['id']]) ?>" target="_blank">
...@@ -99,6 +99,6 @@ ...@@ -99,6 +99,6 @@
<? endif ?> <? endif ?>
<footer data-dialog-button> <footer data-dialog-button>
<?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_assignment', ['class' => 'batch_action']) ?> <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_assignment', ['class' => 'batch_action_d']) ?>
</footer> </footer>
</form> </form>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<thead> <thead>
<tr class="sortable"> <tr class="sortable">
<th style="width: 40%;" class="<?= vips_sort_class($sort === 'title', $desc) ?>"> <th style="width: 40%;" class="<?= vips_sort_class($sort === 'title', $desc) ?>">
<input type="checkbox" data-proxyfor=".batch_select" data-activates=".batch_action" title="<?= _vips('Alle Aufgaben auswählen') ?>"> <input type="checkbox" data-proxyfor=".batch_select_d" data-activates=".batch_action_d" title="<?= _vips('Alle Aufgaben auswählen') ?>">
<a href="<?= $controller->link_for('sheets/copy_exercise_dialog', <a href="<?= $controller->link_for('sheets/copy_exercise_dialog',
compact('assignment_id', 'search_filter') + ['sort' => 'title', 'desc' => $sort === 'title' && !$desc]) ?>" data-dialog="size=big"> compact('assignment_id', 'search_filter') + ['sort' => 'title', 'desc' => $sort === 'title' && !$desc]) ?>" data-dialog="size=big">
<?= _vips('Titel der Aufgabe') ?> <?= _vips('Titel der Aufgabe') ?>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<tr> <tr>
<td> <td>
<label class="undecorated"> <label class="undecorated">
<input class="batch_select" type="checkbox" name="exercise_ids[<?= $exercise['id'] ?>]" value="<?= $exercise['assignment_id'] ?>"> <input class="batch_select_d" type="checkbox" name="exercise_ids[<?= $exercise['id'] ?>]" value="<?= $exercise['assignment_id'] ?>">
<?= htmlReady($exercise['title']) ?> <?= htmlReady($exercise['title']) ?>
<a href="<?= $controller->link_for('sheets/preview_exercise', ['assignment_id' => $exercise['assignment_id'], 'exercise_id' => $exercise['id']]) ?>" <a href="<?= $controller->link_for('sheets/preview_exercise', ['assignment_id' => $exercise['assignment_id'], 'exercise_id' => $exercise['id']]) ?>"
...@@ -112,6 +112,6 @@ ...@@ -112,6 +112,6 @@
<? endif ?> <? endif ?>
<footer data-dialog-button> <footer data-dialog-button>
<?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_exercise', ['class' => 'batch_action']) ?> <?= Studip\Button::createAccept(_vips('Kopieren'), 'copy_exercise', ['class' => 'batch_action_d']) ?>
</footer> </footer>
</form> </form>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment