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 9555d14371c6452f5fc6854e52f89af0605e7f5d..3710eb0eda83e8a74a5a8510f781d25b6bb9b6ac 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>