summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-duration.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-04 16:23:54 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-04 16:23:54 -0800
commit5264cbf1175e3ea73cf9bcf5087c5028e6cf3b1c (patch)
tree01c07f0d3f21feaf8fa606355ed38da700fd6db1 /httemplate/elements/tr-duration.html
parent50e89d97c110d58e0755c69775e0d243a82e352d (diff)
svc_conferencing, RT#24389
Diffstat (limited to 'httemplate/elements/tr-duration.html')
-rw-r--r--httemplate/elements/tr-duration.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/httemplate/elements/tr-duration.html b/httemplate/elements/tr-duration.html
new file mode 100644
index 000000000..2517302ea
--- /dev/null
+++ b/httemplate/elements/tr-duration.html
@@ -0,0 +1,30 @@
+<%doc>
+
+Example:
+
+ <& /elements/tr-duration.html,
+ 'label' => 'Do or do not',
+ 'field' => 'field_name',
+ 'value' => 'Y',
+ &>
+
+</%doc>
+<% include('tr-td-label.html', @_ ) %>
+
+ <TD <% $style %>>
+ <% include('duration.html', @_) %>
+ </TD>
+
+</TR>
+
+<%init>
+
+my %opt = @_;
+
+my $onchange = $opt{'onchange'}
+ ? 'onChange="'. $opt{'onchange'}. '(this)"'
+ : '';
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+</%init>