luci-app-ddns: modified to support ddns-scripts 2.1.0-2
[project/luci.git] / applications / luci-ddns / luasrc / view / ddns / overview_status.htm
index e23cc796e9b0d05fa0ad2001272a3cb6cc321d2d..37c54be25fa059599c37fcda7586d73e0abcbd24 100644 (file)
                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);
        }