Loading…
None
String added in the repository |
|
Things to check
Source string description
%1$s: END %2$s: d.created_on | $KohaDates %3$s: d.modification_time | $KohaDates %4$s: PROCESS action_form shelfnumber=d.shelfnumber can_manage_shelf=d.can_manage_shelf can_delete_shelf=d.can_delete_shelf type=d.type %5$s: UNLESS loop.last %6$s: END %7$s: END %8$s: BLOCK action_form - %9$s: ~ SET action_block = '' ~ %10$s: ~ IF can_manage_shelf OR can_delete_shelf ~ %11$s: ~ shelfnumber = shelfnumber | html ~ %12$s: ~ public = public | html ~ %13$s: ~ IF can_manage_shelf ~ %14$s: ~ action_block = '<form action="shelves.pl" method="get">' ~ %15$s: ~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber _ '" />' ~ name=shelfnumber %16$s: ~ action_block = action_block _ '<input type="hidden" name="op" value="edit_form" />' ~ name=op %17$s: ~ action_block = action_block _ '<input type="hidden" name="public" value="' _ public _ '" />' ~ name=public %18$s: ~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~ name=referer %19$s: ~ action_block = action_block _ '<button class="editshelf btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> ' _ t("Edit") _ '</button>' ~ %20$s: ~ action_block = action_block _ '</form> ' ~ %21$s: ~ END ~ %22$s: ~ IF can_delete_shelf ~ %23$s: ~ action_block = action_block _ ' <form action="shelves.pl" method="post">' ~ %24$s: ~ action_block = BLOCK ~ %25$s: ~ action_block | $raw ~ %26$s: ~ INCLUDE 'csrf-token.inc' | trim ~ %27$s: ~ END ~ %28$s: ~ action_block = action_block _ '<input type="hidden" name="shelves" value="1" />' ~ name=shelves %29$s: ~ action_block = action_block _ '<input type="hidden" name="op" value="cud-delete" />' ~ name=op %30$s: ~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber _ '" />' ~ name=shelfnumber %31$s: ~ action_block = action_block _ '<input type="hidden" name="public" value="' _ public _ '" />' ~ name=public %32$s: ~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~ name=referer %33$s: ~ action_block = action_block _ '<button type="submit" class="delete-list btn btn-default btn-xs"><i class="fa fa-trash-can"></i> ' _ t("Delete") _ '</button>' ~ %34$s: ~ action_block = action_block _ '</form>' ~ %35$s: ~ END ~ %36$s: ~ IF public AND allow_transfer ~ %37$s: ~ action_block = action_block _ ' <form action="shelves.pl" method="get">' ~ %38$s: ~ action_block = action_block _ '<input type="hidden" name="shelves" value="1" />' ~ name=shelves %39$s: ~ action_block = action_block _ '<input type="hidden" name="op" value="transfer" />' ~ name=op %40$s: ~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber _ '" />' ~ name=shelfnumber %41$s: ~ action_block = action_block _ '<input type="hidden" name="public" value="1" />' ~ name=public %42$s: ~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~ name=referer %43$s: ~ action_block = action_block _ '<button type="submit" class="btn btn-default btn-xs"><i class="fa"></i> ' _ t("Transfer") _ '</button>' ~ %44$s: ~ action_block = action_block _ '</form>' ~ %45$s: ~ END ~ %46$s: ~ ELSE ~ %47$s: ~ SET action_block = 'None' ~ %48$s: ~ END ~ %49$s: ~ To.json(action_block) | $raw ~ %50$s: ~ END ~Flags
c-format