parent
b8cf0895ba
commit
9769f4056e
@ -0,0 +1,22 @@
|
||||
[% site_config.title = 'Call List for ' _ 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> Back</a>
|
||||
</span>
|
||||
</div>
|
||||
[% back_created = 1 -%]
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
|
||||
[%
|
||||
helper.name = 'Calls';
|
||||
helper.dt_columns = calls_dt_columns;
|
||||
helper.column_sort = 'start_time';
|
||||
helper.form_object = form;
|
||||
helper.ajax_uri = c.uri_for_action('/subscriber/ajax_calls', [c.req.captures.0]);
|
||||
|
||||
PROCESS 'helpers/datatables.tt';
|
||||
%]
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
@ -0,0 +1,29 @@
|
||||
[% site_config.title = 'Voicebox Messages for ' _ 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> Back</a>
|
||||
</span>
|
||||
</div>
|
||||
[% back_created = 1 -%]
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
|
||||
[%
|
||||
helper.name = 'Voicemails';
|
||||
helper.column_sort = 'origtime';
|
||||
helper.dt_columns = vm_dt_columns;
|
||||
|
||||
helper.form_object = form;
|
||||
helper.ajax_uri = c.uri_for_action('/subscriber/ajax_voicemails', [c.req.captures.0]);
|
||||
|
||||
helper.dt_buttons = [
|
||||
{ name = 'Play', uri = "voicemail/'+full.id+'/play", class = 'btn-small btn-tertiary', icon = 'icon-play' },
|
||||
{ name = 'Delete', uri = "voicemail/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
||||
];
|
||||
|
||||
|
||||
PROCESS 'helpers/datatables.tt';
|
||||
%]
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
Loading…
Reference in new issue