diff options
-rw-r--r-- | applications/luci-app-radicale/luasrc/controller/radicale.lua | 18 | ||||
-rw-r--r-- | applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/applications/luci-app-radicale/luasrc/controller/radicale.lua b/applications/luci-app-radicale/luasrc/controller/radicale.lua index 291f1b4dcc..53424207fa 100644 --- a/applications/luci-app-radicale/luasrc/controller/radicale.lua +++ b/applications/luci-app-radicale/luasrc/controller/radicale.lua @@ -58,25 +58,25 @@ function app_title_back() end function app_err_value() if not service_version() then - return [[<h3><strong><br /><font color="red"> ]] + return [[<h3><strong><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is not installed." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />      ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. DISP.build_url("admin", "system", "packages") ..[[">]] .. I18N.translate("Please install current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] else - return [[<h3><strong><br /><font color="red"> ]] + return [[<h3><strong><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is outdated." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />      ]] .. I18N.translate("installed") .. [[: ]] .. srv_name .. [[ ]] .. service_version() - .. [[<br /> ]] + .. [[<br />      ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. DISP.build_url("admin", "system", "packages") ..[[">]] .. I18N.translate("Please update to current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] end end diff --git a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm index fdb3f27abc..1ad8f0061e 100644 --- a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm +++ b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm @@ -47,7 +47,7 @@ <% for _, section in ipairs(self.children) do %> <% if section.error and section.error[section.section] then -%> <ul><li> - <%:One or more missing/invalid fields on tab%>: <%=section.title or section.section or section.sectiontype%> + <%:One or more missing/invalid fields on tab%>: <%=section.title or section.section or section.sectiontype%> </li></ul> <%- end %> <% end %> |