luci-app-ddns: fix overview page 2164/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 19 Sep 2018 12:00:43 +0000 (14:00 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Wed, 19 Sep 2018 12:00:43 +0000 (14:00 +0200)
Small fix for wrong display of next update data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
applications/luci-app-ddns/Makefile
applications/luci-app-ddns/luasrc/view/ddns/system_status.htm

index 331851d263cfcb25fd66764838bdb8489528ae1d..9262afcf840b2238d21e2a63a582d015bdf2cc60 100644 (file)
@@ -16,7 +16,7 @@ PKG_VERSION:=2.4.9
 
 # Release == build
 # increase on changes of translation files
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_LICENSE:=Apache-2.0
 PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
index 31ed42b0ac5ff5fae6ba45e1fe4a5fd4416a447f..615b6b4336a24d31e0dae611448bd4150bc1a31f 100644 (file)
@@ -25,7 +25,7 @@
                                                
                                                rows.push([
                                                                '<strong>' + data[j].section + '</strong>', //configuration
-                                                               data[j].datenextstat ? '<em>'+data[j].datenextstat+'</em>' : '<em><%:Unknown error%></em>',
+                                                               data[j].datenextstat ? '<em>'+data[j].datenextstat+'</em>' : '<em>'+data[j].datenext+'</em>',
                                                                data[j].lookup ? data[j].lookup : '<em><%:config error%></em>',
                                                                data[j].reg_ip ? data[j].reg_ip : '<em><%:No data%></em>',
                                                                data[j].iface        // monitored interface