fixed subscription listing
This commit is contained in:
parent
5876977f43
commit
8274d148df
2 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ router.post('/ajax', (req, res) => {
|
||||||
recordsFiltered: filteredTotal,
|
recordsFiltered: filteredTotal,
|
||||||
data: data.map((row, i) => [
|
data: data.map((row, i) => [
|
||||||
(Number(req.body.start) || 0) + 1 + i,
|
(Number(req.body.start) || 0) + 1 + i,
|
||||||
htmlescape(row.name || ''),
|
'<span class="glyphicon glyphicon-inbox" aria-hidden="true"></span> ' + htmlescape(row.name || ''),
|
||||||
htmlescape(striptags(row.description) || ''),
|
htmlescape(striptags(row.description) || ''),
|
||||||
getStatusText(row),
|
getStatusText(row),
|
||||||
'<span class="datestring" data-date="' + row.created.toISOString() + '" title="' + row.created.toISOString() + '">' + row.created.toISOString() + '</span>'
|
'<span class="datestring" data-date="' + row.created.toISOString() + '" title="' + row.created.toISOString() + '">' + row.created.toISOString() + '</span>'
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<p></p>
|
<p></p>
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table data-topic-url="/list" data-topic-id="{{id}}" data-sort-column="1" data-sort-order="asc" {{#if useSegment}} data-topic-args="segment={{useSegment}}" {{/if}} class="table table-bordered table-hover data-table-ajax display nowrap" width="100%" data-row-sort="0,1,1,1{{customSort}},1,0">
|
<table data-topic-url="/lists" data-topic-id="{{id}}" data-sort-column="1" data-sort-order="asc" {{#if useSegment}} data-topic-args="segment={{useSegment}}" {{/if}} class="table table-bordered table-hover data-table-ajax display nowrap" width="100%" data-row-sort="0,1,1,1{{customSort}},1,0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-md-1">
|
<th class="col-md-1">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue