blob: 8c6757c7370f3f96d9e4337012cdbf1f15f67b9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<?php
/**
* @var VipsSolution $solution
*/
?>
<? if ($solution->feedback_folder && count($solution->feedback_folder->file_refs)): ?>
<div class="label-text">
<?= _('Dateien zur Korrektur') ?>
</div>
<table class="default">
<thead>
<tr>
<th style="width: 50%;">
<?= _('Name') ?>
</th>
<th style="width: 10%;">
<?= _('Größe') ?>
</th>
<th style="width: 20%;">
<?= _('Autor/-in') ?>
</th>
<th style="width: 20%;">
<?= _('Datum') ?>
</th>
</tr>
</thead>
<tbody>
<? foreach ($solution->feedback_folder->file_refs as $file_ref): ?>
<tr>
<td>
<a href="<?= htmlReady($file_ref->getDownloadURL()) ?>">
<?= Icon::create('file')->asSvg(['title' => _('Datei herunterladen')]) ?>
<?= htmlReady($file_ref->name) ?>
</a>
</td>
<td>
<?= relsize($file_ref->file->size) ?>
</td>
<td>
<?= htmlReady(get_fullname($file_ref->file->user_id, 'no_title')) ?>
</td>
<td>
<?= date('d.m.Y, H:i', $file_ref->file->mkdate) ?>
</td>
</tr>
<? endforeach ?>
</tbody>
</table>
<? endif ?>
|