mailtrain/views/campaigns/clicked.hbs

102 lines
3.4 KiB
Handlebars
Raw Normal View History

2016-05-13 12:32:29 +00:00
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/campaigns">Campaigns</a></li>
{{#if parent}}
<li><a href="/campaigns/view/{{parent.id}}">{{parent.name}}</a></li>
{{/if}}
<li><a href="/campaigns/view/{{id}}">{{name}}</a></li>
<li class="active">Link info</li>
</ol>
<h2><span class="glyphicon glyphicon-inbox" aria-hidden="true"></span> {{name}} <small>Link info</small> <a class="btn btn-default btn-xs" href="/campaigns/view/{{id}}?tab=links" role="button"><span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> View campaign</a></h2>
<hr>
{{#if description}}
<div class="well well-sm">{{{description}}}</div>
{{/if}}
<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<th>
URL
</th>
<th class="col-md-1">
Clicks
</th>
<th class="col-md-1">
% of clicks
</th>
<th class="col-md-1">
% of messages
</th>
</thead>
<tbody>
2016-05-13 12:57:16 +00:00
<tr class="success">
2016-05-13 18:08:44 +00:00
{{#if aggregated}}
<th>
Aggregated clicks
</th>
<th>
{{clicks}}
</th>
<th>
</th>
<th>
CTR {{clicksRate}}%
</th>
{{else}}
<td>
<a href="{{link.url}}">{{link.short}}</a>
</td>
<td>
{{link.clicks}}
</td>
<td>
{{link.relPercentage}}
</td>
<td>
{{link.totalPercentage}}
</td>
{{/if}}
2016-05-13 12:32:29 +00:00
</tr>
</tbody>
</table>
2016-05-13 12:57:16 +00:00
<div class="panel panel-info">
<!-- Default panel contents -->
2016-05-13 18:08:44 +00:00
<div class="panel-heading">{{#if aggregated}}Subscribers who clicked on a link:{{else}}Subscribers who clicked on this link:{{/if}}</div>
2016-05-13 12:57:16 +00:00
<div class="panel-body">
<div class="table-responsive">
<table data-topic-url="/campaigns/clicked" data-topic-id="{{id}}/{{link.id}}" data-sort-column="1" data-sort-order="asc" class="table table-bordered table-hover data-table-ajax display nowrap" width="100%" data-row-sort="0,1,1,1,1,1,0">
<thead>
<tr>
<th class="col-md-1">
#
</th>
<th>
Address
</th>
<th>
First Name
</th>
<th>
Last Name
</th>
<th>
First click
</th>
<th>
Click count
</th>
<th></th>
</tr>
</thead>
</table>
</div>
</div>
2016-05-13 12:32:29 +00:00
</div>
</div>