Merge pull request #980 from NvrBst/pull-request-upnp_description
[project/luci.git] / applications / luci-app-upnp / luasrc / view / upnp_status.htm
index e358dcd..89fdb5e 100644 (file)
                                        tr.insertCell(-1).innerHTML = st[i].extport;
                                        tr.insertCell(-1).innerHTML = st[i].intaddr;
                                        tr.insertCell(-1).innerHTML = st[i].intport;
+                                       tr.insertCell(-1).innerHTML = st[i].descr;
 
                                        tr.insertCell(-1).innerHTML = String.format(
-                                               '<input class="cbi-button cbi-input-remove" type="button" value="<%:Delete Redirect%>" onclick="upnp_delete_fwd(%d)" />',
+                                               '<input class="cbi-button cbi-input-remove" type="button" value="<%:Delete%>" onclick="upnp_delete_fwd(%d)" />',
                                                        st[i].num
                                        );
                                }
@@ -58,6 +59,7 @@
                        <th class="cbi-section-table-cell"><%:External Port%></th>
                        <th class="cbi-section-table-cell"><%:Client Address%></th>
                        <th class="cbi-section-table-cell"><%:Client Port%></th>
+                       <th class="cbi-section-table-cell"><%:Description%></th>
                        <th class="cbi-section-table-cell">&#160;</th>
                </tr>
                <tr class="cbi-section-table-row">