summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-20 00:19:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-20 00:19:05 +0000
commita30ea6c2a38587f6b123a39b0086b64d62f5d9b9 (patch)
tree7ec7776978dd729eab716eb7af3848ab1c728955 /libs
parent80e1900b03b2a5315c791f9240f9d7641ae67562 (diff)
libs/web: add missing cells to tblsection template
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/view/cbi/tblsection.htm8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm
index c79d5a8c8..63214467f 100644
--- a/libs/web/luasrc/view/cbi/tblsection.htm
+++ b/libs/web/luasrc/view/cbi/tblsection.htm
@@ -56,7 +56,9 @@ end
<%-=k.title-%>
<%- if k.titleref then -%></a><%- end -%>
</th>
- <%- count = count + 1; end; end; if self.extedit or self.addremove then -%>
+ <%- count = count + 1; end; end; if self.sortable then -%>
+ <th class="cbi-section-table-cell"><%:Sort%></th>
+ <%- end; if self.extedit or self.addremove then -%>
<th class="cbi-section-table-cell">&#160;</th>
<%- count = count + 1; end -%>
</tr>
@@ -70,7 +72,9 @@ end
<%- end -%>
<%- for i, k in pairs(self.children) do if not k.optional then -%>
<th class="cbi-section-table-cell"<%=width(k)%>><%=k.description%></th>
- <%- end; end; if self.extedit or self.addremove then -%>
+ <%- end; end; if self.sortable then -%>
+ <th class="cbi-section-table-cell"></th>
+ <%- end; if self.extedit or self.addremove then -%>
<th class="cbi-section-table-cell"></th>
<%- end -%>
</tr>