Changeset 2689

Show
Ignore:
Timestamp:
05/06/08 09:19:03
Author:
miyagawa
Message:

don't display the empty column

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • yapcasia2008/actdocs/templates/core/talk/schedule

    r2688 r2689  
    6767            <tr> 
    6868[% # HACK 
    69    IF d == "2008-05-14"; row = [ row.0, row.4 ]; maxwidth.$d = 2
    70    ELSE; row = [ row.0, row.1, row.2, row.3 ]; maxwidth.$d = 4
     69   IF d == "2008-05-14"; row = [ row.0, row.4 ]; maxwidth.$d = 1
     70   ELSE; row = [ row.0, row.1, row.2, row.3 ]; maxwidth.$d = 3
    7171   END; 
    7272%]     
    7373            [% FOREACH col IN row %] 
     74            [% NEXT IF !col %] 
    7475            [% IF loop.first %] 
    7576                <th>[% col %]</th>