Create link from parameters

Zaid Abdulla zaid at genieacs.com
Sun May 17 15:45:00 EDT 2015


On Thu, May 14, 2015, at 09:19 PM, Dan Morphis wrote:
> I'd like to create a link on the device page back to our subscriber management software. Is it possible with just the summary parameters to do this?
> 
> Something like:
> Link: <a href="myurl/{{summary.pppoeUsername}}">{{summary.pppoeUsername}}</a>

No, but you can create a ruby function for rendering a parameter and you
could output HTML code from there. See config/parameter_renderers.yml
and config/parameter_renderers directory.

Zaid


More information about the Users mailing list