summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ddns/luasrc/view')
-rw-r--r--applications/luci-ddns/luasrc/view/ddns/overview_status.htm4
-rw-r--r--applications/luci-ddns/luasrc/view/ddns/system_status.htm4
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
index e23cc796e..37c54be25 100644
--- a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
+++ b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
@@ -141,10 +141,10 @@
str += "\n\nluci-app-ddns:";
str += "\n\t<%:Version%>:\t" + luci_version;
str += "\n\t<%:Build%>:\t" + luci_build;
- str += "\n\nddns-scripts <%:installed%>:";
- str += "\n\t<%:Version%>:\t" + ddns_version;
str += "\n\nddns-scripts <%:required%>:";
str += "\n\t<%:Version%>:\t" + ddns_required + " <%:or greater%>";
+ str += "\n\nddns-scripts <%:installed%>:";
+ str += "\n\t<%:Version%>:\t" + ddns_version;
str += "\n\n"
alert(str);
}
diff --git a/applications/luci-ddns/luasrc/view/ddns/system_status.htm b/applications/luci-ddns/luasrc/view/ddns/system_status.htm
index dcf06cc0b..db9d1d1a0 100644
--- a/applications/luci-ddns/luasrc/view/ddns/system_status.htm
+++ b/applications/luci-ddns/luasrc/view/ddns/system_status.htm
@@ -10,7 +10,7 @@
if ( !(tbl) ) { return; }
// clear all rows
- while (tbl.rows.length > 1)
+ while (tbl.rows.length > 1)
tbl.deleteRow(1);
// variable for Modulo-Division use to set cbi-rowstyle-? (0 or 1)
@@ -115,7 +115,7 @@
if (tbl.rows.length == 1 || (data[0].enabled == 0 && tbl.rows.length == 2) ) {
var br = '<br />';
- if (tbl.rows.length > 1)
+ if (tbl.rows.length > 1)
br = '';
var tr = tbl.insertRow(-1);
tr.className = "cbi-section-table-row";