[luci] add button conditionally
Jo-Philipp Wich
xm at subsignal.org
Tue Oct 15 14:46:43 CEST 2013
Hi.
> This page is for all interfaces (3g, wan, lan, ...) and button is
> displayed on all pages. How to display button (More info) on 3g
> interface page only? Thanks
<% if this.network == "foo" then %>
...
<% end %>
Regards,
Jow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20131015/25be8e21/attachment.pgp>
More information about the luci
mailing list