Lines 43-53
Link Here
|
43 |
<tbody> |
43 |
<tbody> |
44 |
[% FOREACH f IN files %] |
44 |
[% FOREACH f IN files %] |
45 |
<tr> |
45 |
<tr> |
46 |
<td><a href="?borrowernumber=[% borrowernumber %]&op=download&file_id=[% f.file_id %]">[% f.file_name %]</a></td> |
46 |
<td><a href="?borrowernumber=[% patron.borrowernumber %]&op=download&file_id=[% f.file_id %]">[% f.file_name %]</a></td> |
47 |
<td>[% f.file_type %]</td> |
47 |
<td>[% f.file_type %]</td> |
48 |
<td>[% f.file_description %]</td> |
48 |
<td>[% f.file_description %]</td> |
49 |
<td>[% f.date_uploaded | $KohaDates %]</td> |
49 |
<td>[% f.date_uploaded | $KohaDates %]</td> |
50 |
[% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% borrowernumber %]&op=delete&file_id=[% f.file_id %]"><i class="fa fa-trash"></i> Delete</a></td>[% END %] |
50 |
[% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% patron.borrowernumber %]&op=delete&file_id=[% f.file_id %]"><i class="fa fa-trash"></i> Delete</a></td>[% END %] |
51 |
</tr> |
51 |
</tr> |
52 |
[% END %] |
52 |
[% END %] |
53 |
</tbody> |
53 |
</tbody> |
Lines 63-69
Link Here
|
63 |
<legend>Upload New File</legend> |
63 |
<legend>Upload New File</legend> |
64 |
<ol> |
64 |
<ol> |
65 |
<li><input type="hidden" name="op" value="upload" /> |
65 |
<li><input type="hidden" name="op" value="upload" /> |
66 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
66 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
67 |
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> |
67 |
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> |
68 |
|
68 |
|
69 |
<label for="description">Description:</label> |
69 |
<label for="description">Description:</label> |
70 |
- |
|
|