From 8c39c41a00e15164ea306bfd73b2ae187dade9a5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 9 Dec 2013 23:37:20 -0800 Subject: on-the-fly alarm vendor / type / CS adding, RT#23694 --- httemplate/elements/tr-select-alarm_system.html | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'httemplate/elements/tr-select-alarm_system.html') diff --git a/httemplate/elements/tr-select-alarm_system.html b/httemplate/elements/tr-select-alarm_system.html index a46a015f2..e1b2ae329 100644 --- a/httemplate/elements/tr-select-alarm_system.html +++ b/httemplate/elements/tr-select-alarm_system.html @@ -1,12 +1,9 @@ -% #if ( scalar(@domains) < 2 ) { -% #} else { - - <% $opt{'label'} || 'Vendor' %> - - <% include( '/elements/select-alarm_system.html', %opt) %> - - -% #} -<%init> - my %opt = @_; - +<& /elements/tr-select-table.html, + label => 'Vendor', + table => 'alarm_system', + #name_col => 'systemname', + add_inline => 1, + add_fields => [ 'systemname' ], + add_right => [ 'Alarm configuration', 'Alarm global configuration' ], + @_, +&> -- cgit v1.2.1