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 e23cc79..37c54be 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);
        }