101 lines
3.4 KiB
Handlebars
101 lines
3.4 KiB
Handlebars
<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>
|
||
<tr class="success">
|
||
{{#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}}
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<div class="panel panel-info">
|
||
<!-- Default panel contents -->
|
||
<div class="panel-heading">{{#if aggregated}}Subscribers who clicked on a link:{{else}}Subscribers who clicked on this link:{{/if}}</div>
|
||
<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>
|
||
</div>
|
||
</div>
|