add completed date for archive campaigns table

pull/2282/head
sylflo 2021-08-11 21:27:27 +02:00 committed by Sylvain Chateau
parent 5ef2d75e72
commit 060b09ea0c
2 changed files with 2 additions and 0 deletions

View File

@ -381,6 +381,7 @@ $(document).ready(function () {
var row = [ var row = [
escapeHtml(campaign.name), escapeHtml(campaign.name),
moment(campaign.created_date).format('MMMM Do YYYY, h:mm:ss a'), moment(campaign.created_date).format('MMMM Do YYYY, h:mm:ss a'),
moment(campaign.completed_date).format('MMMM Do YYYY, h:mm:ss a'),
"<span class=\"label " + label + "\" data-toggle=\"tooltip\" data-placement=\"right\" data-html=\"true\" title=\"" + quickStats + "\">" + campaign.status + "</span>", "<span class=\"label " + label + "\" data-toggle=\"tooltip\" data-placement=\"right\" data-html=\"true\" title=\"" + quickStats + "\">" + campaign.status + "</span>",
"<div class='pull-right'><a class='btn btn-primary' href='/campaigns/" + campaign.id + "' data-toggle='tooltip' data-placement='left' title='View Results'>\ "<div class='pull-right'><a class='btn btn-primary' href='/campaigns/" + campaign.id + "' data-toggle='tooltip' data-placement='left' title='View Results'>\
<i class='fa fa-bar-chart'></i>\ <i class='fa fa-bar-chart'></i>\

View File

@ -61,6 +61,7 @@
<tr> <tr>
<th class="col-md-3">Name</th> <th class="col-md-3">Name</th>
<th class="col-md-4">Created Date</th> <th class="col-md-4">Created Date</th>
<th class="col-md-4">Completed Date</th>
<th class="col-md-2">Status</th> <th class="col-md-2">Status</th>
<th class="col-md-3 no-sort"></th> <th class="col-md-3 no-sort"></th>
</tr> </tr>