https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33916 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Couldn't this be simplified? + [% IF ( label_element == 'layout' ) %] + <h2>[% PROCESS translate_label_element element=label_element_title %]</h2> + [% ELSIF ( label_element == 'template' ) %] + <h2>[% PROCESS translate_label_element element=label_element_title %]</h2> + [% ELSIF ( label_element == 'profile' ) %] + <h2>[% PROCESS translate_label_element element=label_element_title %]</h2> + [% ELSIF ( label_element == 'batch' ) %] + <h2>[% PROCESS translate_label_element element=label_element_title %]</h2> + [% END %] To just be? <h2>[% PROCESS translate_label_element element=label_element_title %]</h2> If the outcome is always the same, why do the if/else? -- You are receiving this mail because: You are watching all bug changes.