-
Notifications
You must be signed in to change notification settings - Fork 0
/
sopac-user-holds-list-multirow.tpl.php
47 lines (47 loc) · 1.26 KB
/
sopac-user-holds-list-multirow.tpl.php
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
<?php print $required_hidden_fields ?>
<table cellspacing="0" class="sticky-enabled sticky-table" id="patroninfo">
<thead class="tableHeader-processed">
<tr>
<th>Delete</th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
$zebra = 'even';
foreach ($holds as $hold) {
$zebra = $zebra == 'odd' ? 'even' : 'odd';
?>
<tr class="<?php print $zebra ?>">
<td><?php print $hold['cancel'] ?></td>
<td colspan="2"><?php print $hold['title_link'] ?></td>
</tr>
<tr class="<?php print $zebra ?>">
<td> </td>
<td>Availability:</td>
<td><?php print $hold['status'] ?> in queue</td>
</tr>
<tr class="<?php print $zebra ?>">
<td> </td>
<td>Pickup at:</td>
<td><?php print $hold['pickup'] ?></td>
</tr>
<tr class="<?php print $zebra ?>">
<td> </td>
<td>Status:</td>
<td><?php print $hold['freeze'] ?></td>
</tr>
<tr class="<?php print $zebra ?>">
<td> </td>
<td>Suspended:</td>
<td><?php print $hold['suspend_from'] ?><?php print $hold['suspend_to'] ?></td>
</tr>
<?php
}
?>
<tr class="profile_button <?php print $zebra ?>">
<td colspan="3"><?php print $submit ?></td>
</tr>
</tbody>
</table>