Added .href parameter to DummyValues
This commit is contained in:
parent
9cae9dabf2
commit
9243e20e27
1 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@ $Id$
|
|||
-%>
|
||||
|
||||
<%+cbi/valueheader%>
|
||||
<% if self.value then
|
||||
<% if self.href then %><a href="<%=self.href%>"><% end -%>
|
||||
<%- if self.value then
|
||||
if type(self.value) == "function" then %>
|
||||
<%=luci.util.pcdata(self:value(section))%>
|
||||
<% else %>
|
||||
|
@ -22,6 +23,7 @@ $Id$
|
|||
<% end
|
||||
else %>
|
||||
<%=luci.util.pcdata(self:cfgvalue(section))%>
|
||||
<% end %>
|
||||
<% end -%>
|
||||
<%- if self.href then %></a><%end%>
|
||||
 
|
||||
<%+cbi/valuefooter%>
|
||||
|
|
Loading…
Reference in a new issue