aboutsummaryrefslogtreecommitdiff
path: root/app/views/vips/solutions
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/vips/solutions')
-rw-r--r--app/views/vips/solutions/assignment_solutions.php8
-rw-r--r--app/views/vips/solutions/assignments_list.php4
-rw-r--r--app/views/vips/solutions/edit_solution.php18
-rw-r--r--app/views/vips/solutions/feedback_files_table.php2
-rw-r--r--app/views/vips/solutions/student_assignment_solutions.php4
5 files changed, 18 insertions, 18 deletions
diff --git a/app/views/vips/solutions/assignment_solutions.php b/app/views/vips/solutions/assignment_solutions.php
index 472d7ef..388574c 100644
--- a/app/views/vips/solutions/assignment_solutions.php
+++ b/app/views/vips/solutions/assignment_solutions.php
@@ -65,8 +65,8 @@
<th style="width: 1em;"></th>
<th>
<a href="#" class="solution-toggle">
- <?= Icon::create('arr_1right')->asSvg(['class' => 'arrow_all', 'title' => _('Aufgaben aller Teilnehmenden anzeigen')]) ?>
- <?= Icon::create('arr_1down')->asSvg(['class' => 'arrow_all', 'title' => _('Aufgaben aller Teilnehmenden verstecken'), 'style' => 'display: none;']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'arrow_all', 'title' => _('Aufgaben aller Teilnehmenden anzeigen')]) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'arrow_all', 'title' => _('Aufgaben aller Teilnehmenden verstecken'), 'style' => 'display: none;']) ?>
<?= _('Teilnehmende') ?>
</a>
</th>
@@ -108,8 +108,8 @@
<td>
<a href="#" class="solution-toggle">
- <?= Icon::create('arr_1right')->asSvg(['class' => 'solution-open', 'title' => _('Aufgaben anzeigen')]) ?>
- <?= Icon::create('arr_1down')->asSvg(['class' => 'solution-close', 'title' => _('Aufgaben verstecken')]) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'solution-open', 'title' => _('Aufgaben anzeigen')]) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'solution-close', 'title' => _('Aufgaben verstecken')]) ?>
<?= htmlReady($solver['name']) ?>
</a>
diff --git a/app/views/vips/solutions/assignments_list.php b/app/views/vips/solutions/assignments_list.php
index 851fd47..c685e9a 100644
--- a/app/views/vips/solutions/assignments_list.php
+++ b/app/views/vips/solutions/assignments_list.php
@@ -109,9 +109,9 @@
<? if (!isset($ass['uncorrected_solutions'])): ?>
&ndash;
<? elseif ($ass['uncorrected_solutions'] == 0): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('ja')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('ja')]) ?>
<? else : ?>
- <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('nein')]) ?>
+ <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['title' => _('nein')]) ?>
<? endif ?>
</td>
diff --git a/app/views/vips/solutions/edit_solution.php b/app/views/vips/solutions/edit_solution.php
index 327342f..fb00f6b 100644
--- a/app/views/vips/solutions/edit_solution.php
+++ b/app/views/vips/solutions/edit_solution.php
@@ -25,10 +25,10 @@
<? /* previous solver */ ?>
<? if (isset($prev_solver)): ?>
<a href="<?= $controller->edit_solution(['assignment_id' => $assignment_id, 'exercise_id' => $exercise_id, 'solver_id' => $prev_solver['user_id'], 'view' => $view]) ?>">
- <?= Icon::create('arr_1left')->asSvg(['title' => _('Voriger Teilnehmer / vorige Teilnehmerin')]) ?>
+ <?= Icon::create('arr_1left')->asImg(['title' => _('Voriger Teilnehmer / vorige Teilnehmerin')]) ?>
</a>
<? else: ?>
- <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asSvg(['title' => _('Keiner der vorhergehenden Teilnehmenden hat diese Aufgabe bearbeitet')]) ?>
+ <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asImg(['title' => _('Keiner der vorhergehenden Teilnehmenden hat diese Aufgabe bearbeitet')]) ?>
<? endif ?>
<? /* overview */ ?>
@@ -39,10 +39,10 @@
<? /* next solver */ ?>
<? if (isset($next_solver)): ?>
<a href="<?= $controller->edit_solution(['assignment_id' => $assignment_id, 'exercise_id' => $exercise_id, 'solver_id' => $next_solver['user_id'], 'view' => $view]) ?>">
- <?= Icon::create('arr_1right')->asSvg(['title' => _('Nächster Teilnehmer / nächste Teilnehmerin')]) ?>
+ <?= Icon::create('arr_1right')->asImg(['title' => _('Nächster Teilnehmer / nächste Teilnehmerin')]) ?>
</a>
<? else: ?>
- <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asSvg(['title' => _('Keiner der nachfolgenden Teilnehmenden hat diese Aufgabe bearbeitet')]) ?>
+ <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asImg(['title' => _('Keiner der nachfolgenden Teilnehmenden hat diese Aufgabe bearbeitet')]) ?>
<? endif ?>
&nbsp;/&nbsp;
@@ -50,10 +50,10 @@
<? /* previous exercise */ ?>
<? if (isset($prev_exercise)): ?>
<a href="<?= $controller->edit_solution(['assignment_id' => $assignment_id, 'exercise_id' => $prev_exercise['id'], 'solver_id' => $solver_id, 'view' => $view]) ?>">
- <?= Icon::create('arr_1left')->asSvg(['title' => _('Vorige Aufgabe')]) ?>
+ <?= Icon::create('arr_1left')->asImg(['title' => _('Vorige Aufgabe')]) ?>
</a>
<? else: ?>
- <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asSvg(['title' => _('Die teilnehmende Person hat keine der vorhergehenden Aufgaben bearbeitet')]) ?>
+ <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asImg(['title' => _('Die teilnehmende Person hat keine der vorhergehenden Aufgaben bearbeitet')]) ?>
<? endif ?>
<? /* exercise name */ ?>
@@ -62,10 +62,10 @@
<? /* next exercise */ ?>
<? if (isset($next_exercise)): ?>
<a href="<?= $controller->edit_solution(['assignment_id' => $assignment_id, 'exercise_id' => $next_exercise['id'], 'solver_id' => $solver_id, 'view' => $view]) ?>">
- <?= Icon::create('arr_1right')->asSvg(['title' => _('Nächste Aufgabe')]) ?>
+ <?= Icon::create('arr_1right')->asImg(['title' => _('Nächste Aufgabe')]) ?>
</a>
<? else: ?>
- <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asSvg(['title' => _('Die teilnehmende Person hat keine der nachfolgenden Aufgaben bearbeitet')]) ?>
+ <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asImg(['title' => _('Die teilnehmende Person hat keine der nachfolgenden Aufgaben bearbeitet')]) ?>
<? endif ?>
</div>
@@ -147,7 +147,7 @@
<td>
<input type="hidden" name="file_ids[]" value="<?= htmlReady($file_ref->id) ?>">
<a href="<?= htmlReady($file_ref->getDownloadURL()) ?>">
- <?= Icon::create('file')->asSvg(['title' => _('Datei herunterladen')]) ?>
+ <?= Icon::create('file')->asImg(['title' => _('Datei herunterladen')]) ?>
<?= htmlReady($file_ref->name) ?>
</a>
</td>
diff --git a/app/views/vips/solutions/feedback_files_table.php b/app/views/vips/solutions/feedback_files_table.php
index 8c6757c..dff9869 100644
--- a/app/views/vips/solutions/feedback_files_table.php
+++ b/app/views/vips/solutions/feedback_files_table.php
@@ -31,7 +31,7 @@
<tr>
<td>
<a href="<?= htmlReady($file_ref->getDownloadURL()) ?>">
- <?= Icon::create('file')->asSvg(['title' => _('Datei herunterladen')]) ?>
+ <?= Icon::create('file')->asImg(['title' => _('Datei herunterladen')]) ?>
<?= htmlReady($file_ref->name) ?>
</a>
</td>
diff --git a/app/views/vips/solutions/student_assignment_solutions.php b/app/views/vips/solutions/student_assignment_solutions.php
index b279a36..d5b717a 100644
--- a/app/views/vips/solutions/student_assignment_solutions.php
+++ b/app/views/vips/solutions/student_assignment_solutions.php
@@ -64,9 +64,9 @@
</td>
<td style="text-align: center;">
<? if ($solution): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('ja')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('ja')]) ?>
<? else : ?>
- <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('nein')]) ?>
+ <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['title' => _('nein')]) ?>
<? endif ?>
</td>
<td style="text-align: center;">