projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cae9da
)
Added .href parameter to DummyValues
author
Steven Barth
<steven@midlink.org>
Fri, 5 Sep 2008 13:32:59 +0000
(13:32 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 5 Sep 2008 13:32:59 +0000
(13:32 +0000)
libs/cbi/luasrc/view/cbi/dvalue.htm
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/view/cbi/dvalue.htm
b/libs/cbi/luasrc/view/cbi/dvalue.htm
index c2187838c4f451d2300fdcdec1b3db12398ec3c7..88f38ca7b6e064e860e6283cb66323a3ed0c6216 100644
(file)
--- a/
libs/cbi/luasrc/view/cbi/dvalue.htm
+++ b/
libs/cbi/luasrc/view/cbi/dvalue.htm
@@
-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%>