Lines 22-28
Link Here
|
22 |
"dt_modification_time": |
22 |
"dt_modification_time": |
23 |
"[% data.modification_time | $KohaDates %]", |
23 |
"[% data.modification_time | $KohaDates %]", |
24 |
"dt_action": |
24 |
"dt_action": |
25 |
"<a style=\"cursor:pointer\">[% PROCESS action_form shelfnumber=data.shelfnumber can_manage_shelf=data.can_manage_shelf can_delete_shelf=data.can_delete_shelf type=data.type %]</a>" |
25 |
"[% PROCESS action_form shelfnumber=data.shelfnumber can_manage_shelf=data.can_manage_shelf can_delete_shelf=data.can_delete_shelf type=data.type %]" |
26 |
}[% UNLESS loop.last %],[% END %] |
26 |
}[% UNLESS loop.last %],[% END %] |
27 |
[% END %] |
27 |
[% END %] |
28 |
] |
28 |
] |
Lines 38-54
Link Here
|
38 |
[%~ action_block = action_block _ '<input type="hidden" name="category" value="' _ type _ '" />' ~%] |
38 |
[%~ action_block = action_block _ '<input type="hidden" name="category" value="' _ type _ '" />' ~%] |
39 |
[%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%] |
39 |
[%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%] |
40 |
[%~ action_block = action_block _ '<button class="editshelf btn btn-mini"><i class="fa fa-pencil"></i> Edit</button>' ~%] |
40 |
[%~ action_block = action_block _ '<button class="editshelf btn btn-mini"><i class="fa fa-pencil"></i> Edit</button>' ~%] |
41 |
[%~ action_block = action_block _ '</form>' ~%] |
41 |
[%~ action_block = action_block _ '</form> ' ~%] |
42 |
[%~ END ~%] |
42 |
[%~ END ~%] |
43 |
[%~ IF can_manage_shelf OR can_delete_shelf ~%] |
43 |
[%~ IF can_manage_shelf OR can_delete_shelf ~%] |
44 |
[%~ action_block = action_block _ '<form action="shelves.pl" method="post">' ~%] |
44 |
[%~ action_block = action_block _ ' <form action="shelves.pl" method="post">' ~%] |
45 |
[%~ action_block = action_block _ '<input type="hidden" name="shelfoff" value="' _ shelfoff _ '" />' ~%] |
45 |
[%~ action_block = action_block _ '<input type="hidden" name="shelfoff" value="' _ shelfoff _ '" />' ~%] |
46 |
[%~ action_block = action_block _ '<input type="hidden" name="shelves" value="1" />' ~%] |
46 |
[%~ action_block = action_block _ '<input type="hidden" name="shelves" value="1" />' ~%] |
47 |
[%~ action_block = action_block _ '<input type="hidden" name="op" value="delete" />' ~%] |
47 |
[%~ action_block = action_block _ '<input type="hidden" name="op" value="delete" />' ~%] |
48 |
[%~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber _ '" />' ~%] |
48 |
[%~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber _ '" />' ~%] |
49 |
[%~ action_block = action_block _ '<input type="hidden" name="category" value="' _ type _ '" />' ~%] |
49 |
[%~ action_block = action_block _ '<input type="hidden" name="category" value="' _ type _ '" />' ~%] |
50 |
[%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%] |
50 |
[%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%] |
51 |
[%~ action_block = action_block _ '<button class="deleteshelf btn btn-mini" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)"><i class="fa fa-trash"></i> Delete</button>' ~%] |
51 |
[%~ action_block = action_block _ '<button type="submit" class="deleteshelf btn btn-mini"><i class="fa fa-trash"></i> Delete</button>' ~%] |
52 |
[%~ action_block = action_block _ '</form>' ~%] |
52 |
[%~ action_block = action_block _ '</form>' ~%] |
53 |
[%~ END ~%] |
53 |
[%~ END ~%] |
54 |
[%~ ELSE ~%] |
54 |
[%~ ELSE ~%] |
55 |
- |
|
|