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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to