luci-app-radicale: fix markup which is not valid XHTML
XHTML does not specify ` `, use ` ` instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
7d53888477
commit
40d449c1d8
2 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue