modules/admin-full: fix bad colspan in lease status template
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Nov 2010 09:29:48 +0000 (09:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Nov 2010 09:29:48 +0000 (09:29 +0000)
modules/admin-full/luasrc/view/admin_network/lease_status.htm

index 9555d14..3710eb0 100644 (file)
@@ -69,7 +69,7 @@
                                        {
                                                var tr = document.createElement('tr');
                                                        tr.className = 'cbi-section-table-row';
-                                                       tr.innerHTML = '<td colspan="5"><em><br /><%:There are no active leases.%></em></td>';
+                                                       tr.innerHTML = '<td colspan="4"><em><br /><%:There are no active leases.%></em></td>';
 
                                                tb.rows[0].parentNode.appendChild(tr);
                                        }
@@ -91,7 +91,7 @@
                        <th class="cbi-section-table-cell"><%:Leasetime remaining%></th>
                </tr>
                <tr class="cbi-section-table-row">
-                       <td colspan="5"><em><br /><%:Collecting data...%></em></td>
+                       <td colspan="4"><em><br /><%:Collecting data...%></em></td>
                </tr>
        </table>
 </fieldset>