http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14517
--- Comment #4 from M. Tompsett <[email protected]> --- Comment on attachment 40994 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40994 Bug 14517: List shelves list is broken for translated interfaces Review of attachment 40994: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14517&attachment=40994) ----------------------------------------------------------------- I fear trying to understand how this works at this late hour. ::: koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt @@ +29,4 @@ > } > > [% BLOCK action_form -%] > +[%~ SET action_block = '' ~%] http://template-toolkit.org/docs/manual/Config.html#section_PRE_CHOMP_POST_CHOMP "To remove all whitespace including any number of newlines, use the '~' character instead. [% FOREACH user IN userlist %] [%~ user ~%] [% END %]" --- learned something new. Though this was hard to find in the manual. @@ +32,5 @@ > +[%~ SET action_block = '' ~%] > +[%~ IF can_manage_shelf OR can_delete_shelf ~%] > + [%~ IF can_manage_shelf ~%] > + [%~ action_block = '<form action="shelves.pl" > method="get">' ~%] > + [%~ action_block = action_block _ '<input type="hidden" > name="shelfnumber" value="' _ shelfnumber _ '" />' ~%] http://www.template-toolkit.org/docs/manual/Directives.html#section_SET "You can concatenate strings together using the ' _ ' operator." -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
