+
+
+ [% IF c.user.roles == "subscriber" || c.user.roles == "subscriberadmin" || ((c.user.roles == "admin" || c.user.roles == "reseller") && c.user.read_only != 1) -%]
+
+ [% c.loc('Edit Callthrough CLIs') %]
+
+ [% END -%]
+[%
+ helper.messages = '';
+ helper.name = c.loc('foobar');
+ helper.identifier = 'ccmapentries';
+ helper.column_sort = undef;
+ helper.dt_columns = ccmap_dt_columns;
+ helper.length_change = 1;
+ helper.ajax_uri = c.uri_for_action('/subscriber/ajax_ccmappings', [c.req.captures.0]);
+
+ helper.dt_buttons = [
+ { name = c.loc('Delete'), uri = "/subscriber/"_ c.req.captures.0 _"/preferences/ccmappings/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
+ ];
+
+ PROCESS 'helpers/datatables.tt';
+%]
+
+