From 5e9da8240f475a227c2897f4947397a74f36b2c3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 6 Oct 2015 13:29:43 +0200 Subject: Globally convert headline anchors into name attributes. Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/error.htm | 2 +- modules/luci-base/luasrc/view/cbi/map.htm | 2 +- modules/luci-base/luasrc/view/cbi/simpleform.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/luci-base/luasrc/view/cbi') diff --git a/modules/luci-base/luasrc/view/cbi/error.htm b/modules/luci-base/luasrc/view/cbi/error.htm index 2acb96924e..75ec1082aa 100644 --- a/modules/luci-base/luasrc/view/cbi/error.htm +++ b/modules/luci-base/luasrc/view/cbi/error.htm @@ -1,5 +1,5 @@
- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %>

diff --git a/modules/luci-base/luasrc/view/cbi/map.htm b/modules/luci-base/luasrc/view/cbi/map.htm index 053220d185..e90c3f589f 100644 --- a/modules/luci-base/luasrc/view/cbi/map.htm +++ b/modules/luci-base/luasrc/view/cbi/map.htm @@ -5,7 +5,7 @@ <%-+cbi/apply_xhr-%>

- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%> <%- self:render_children() %> diff --git a/modules/luci-base/luasrc/view/cbi/simpleform.htm b/modules/luci-base/luasrc/view/cbi/simpleform.htm index 5216cd50f1..437a07a8bd 100644 --- a/modules/luci-base/luasrc/view/cbi/simpleform.htm +++ b/modules/luci-base/luasrc/view/cbi/simpleform.htm @@ -6,7 +6,7 @@
<% end %>
- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <% self:render_children() %>
-- cgit v1.2.3