-%>
<%+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 %>
<% end
else %>
<%=luci.util.pcdata(self:cfgvalue(section))%>
-<% end %>
+<% end -%>
+<%- if self.href then %></a><%end%>
 
<%+cbi/valuefooter%>