Changeset 6763

Show
Ignore:
Timestamp:
01/20/11 01:19:05 (2 years ago)
Author:
jow
Message:

libs/web: add missing cells to tblsection template

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/libs/web/luasrc/view/cbi/tblsection.htm

    r6762 r6763  
    5757                <%- if k.titleref then -%></a><%- end -%> 
    5858                </th> 
    59             <%- count = count + 1; end; end; if self.extedit or self.addremove then -%> 
     59            <%- count = count + 1; end; end; if self.sortable then -%> 
     60                <th class="cbi-section-table-cell"><%:Sort%></th> 
     61            <%- end; if self.extedit or self.addremove then -%> 
    6062                <th class="cbi-section-table-cell">&#160;</th> 
    6163            <%- count = count + 1; end -%> 
     
    7173            <%- for i, k in pairs(self.children) do if not k.optional then -%> 
    7274                <th class="cbi-section-table-cell"<%=width(k)%>><%=k.description%></th> 
    73             <%- end; end; if self.extedit or self.addremove then -%> 
     75            <%- end; end; if self.sortable then -%> 
     76                <th class="cbi-section-table-cell"></th> 
     77            <%- end; if self.extedit or self.addremove then -%> 
    7478                <th class="cbi-section-table-cell"></th> 
    7579            <%- end -%>