diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-20 16:11:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-20 16:11:27 +0000 |
commit | 9a7c358cfb684970ae050681067e4f87a079cbc0 (patch) | |
tree | 5402026e0bd83f02ce792b9b5fc9c8c93ccd5de7 /libs/cbi/luasrc | |
parent | 431a2cac7be82e5de5f7b76f55fa18e176542b52 (diff) |
* luci/themes: fix help text styles in openwrt.org theme
Diffstat (limited to 'libs/cbi/luasrc')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/full_valuefooter.htm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index 8084cfda98..a01f6bd6c8 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -14,8 +14,13 @@ $Id$ -%> <% if #self.description > 0 then -%> - <span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span> - <div class="cbi-value-description"><%=self.description%></div> + <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%> + <br /> + <%- end %> + <div class="cbi-value-description"> + <span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span> + <%=self.description%> + </div> <%- end %> <%- if self.title and #self.title > 0 then -%> </div> |