https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38714 Bug ID: 38714 Summary: [OMNIBUS] Adjust templates for prettier Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: jonathan.druart@gmail.com Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org In order to run prettier on our .tt files we will need to adjust some structures. For instance we will need to remove the following construction: [% IF selected %] <option selected> [% ELSE %] <option> [% END %] </option> Or [% IF error %] <div class="error"> [% ELSE %] <div> [% END %] It will require to reorganize the code in some places but nothing hard. In case it is not possible we will flag the template section to ignore it for tidy. -- You are receiving this mail because: You are watching all bug changes.