[Koha-bugs] [Bug 25302] The indentations should be in accordance with the Coding guidelines.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 28 16:44:38 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25302

--- Comment #1 from Timothy Alexis Vass <timothy_alexis.vass at ub.lu.se> ---
Created attachment 103863
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103863&action=edit
=== Indentations are now consistently 4 spaces and opening/closing tags are now
aligned. === example:     <div id="html5media">       [% FOREACH ... %]        
<p>           ...         </p>       [% END %]     </div> is now:     <div
id="html5media">    

===
Whitespaces are now consistent
===
1. Occuring > < and ] [ changed to >< and ][
    example:
        <li> <a href="...
    is now:
        <li><a href="...

2. Occuring \S%] changed to \S %]
    example:
        ELSE%]
    is now:
        ELSE %]

3. Occuring # /\S changed to # / \S
    example:
        [% # /IF
    is now
        [% # / IF

4. Sometimes empty lines between concurrent [% IF %] statements changed to
always
    example:
        [% END %]
        [% IF ...
    is now:
        [% END %]

        [% IF ...

5. Occuring ,\S changed to , \S
    example:
        function(d,s,id)
    is now:
        function(d, s, id)

6. Occuring IF \(\S.+\S\) changed to IF \( \S.+\S\ )
    example:
        IF (SeparateHoldings)
    is now:
        IF ( SeparateHoldings )

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list