You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/share/templates/subscriber/recording.tt

31 lines
1.2 KiB

[% site_config.title = c.loc('Call Recordings for [_1]@[_2]', subscriber.username, subscriber.domain.domain) -%]
<div class="row">
<span class="pull-left" style="margin:0 5px 0 5px;">
<a class="btn btn-primary btn-large" href="[% c.uri_for('/back') %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
</span>
</div>
[% back_created = 1 -%]
<div class="ngcp-separator"></div>
[%
helper.name = c.loc('Call Recordings');
helper.column_sort = 'origtime';
helper.dt_columns = rec_dt_columns;
helper.form_object = form;
helper.ajax_uri = c.uri_for_action('/subscriber/ajax_recordings', [c.req.captures.0]);
helper.dt_buttons = [
{ name = c.loc('Call Details'), uri = "/subscriber/" _ subscriber.id _ "/calls?callid=' + encodeURIComponent(full.call_id_url) + '", class = 'btn-small btn-tertiary', icon = 'icon-search' },
{ name = c.loc('Recorded Files'), uri = "recording/'+full.id+'/streams", class = 'btn-small btn-tertiary', icon = 'icon-play' },
{ name = c.loc('Delete'), uri = "recording/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
];
PROCESS 'helpers/datatables.tt';
%]
[% # vim: set tabstop=4 syntax=html expandtab: -%]