initial support for bind params in custom reports
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
[% INCLUDE "sidebar/report/${report.tag}.tt" %]
|
||||
[% CATCH %]
|
||||
<script type="text/javascript">has_sidebar["[% report.tag %]"] = 0;</script>
|
||||
[% INCLUDE "sidebar/report/generic_report.tt" %]
|
||||
[% END %]
|
||||
</form>
|
||||
</div> <!-- /tab-pane -->
|
||||
|
||||
4
Netdisco/share/views/sidebar/report/generic_report.tt
Normal file
4
Netdisco/share/views/sidebar/report/generic_report.tt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[% FOREACH k IN report.rconfig.bind_params %]
|
||||
<input name="[% k %]" value="[% params.$k | html_entity %]" type="hidden"/>
|
||||
[% END %]
|
||||
Reference in New Issue
Block a user