Changes between Version 3 and Version 4 of ColumnizeTag


Ignore:
Timestamp:
12/09/2008 07:52:10 AM (6 years ago)
Author:
ledil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ColumnizeTag

    v3 v4  
    182182            output += '</tr>'
    183183}}}
     184
     185== Another small comment / correction ... ==
     186
     187{{{
     188        forloop = context['forloop']
     189        if self.counter == self.columns or forloop['last'] and forloop['counter0'] % self.columns != (self.columns - 1):
     190            if (self.columns < self.counter):
     191              for i in range(0,self.columns-self.counter):
     192                output += '<td>&nbsp;</td>'
     193            output += '</tr>'
     194}}}
Back to Top