Added clicks stats to links table

This commit is contained in:
Andris Reinman 2016-05-05 14:57:56 +03:00
parent 09de6e4576
commit 3273c43184
2 changed files with 21 additions and 3 deletions

View file

@ -273,9 +273,15 @@
<th>
URL
</th>
<th class="col-md-2">
<th class="col-md-1">
Clicked
</th>
<th class="col-md-1">
% of clicks
</th>
<th class="col-md-1">
% of messages
</th>
</thead>
<tbody>
{{#if links}}
@ -285,16 +291,22 @@
{{index}}
</td>
<td>
<a href="{{url}}">{{url}}</a>
<a href="{{url}}">{{short}}</a>
</td>
<td>
{{clicks}}
</td>
<td>
{{relPercentage}}
</td>
<td>
{{totalPercentage}}
</td>
</tr>
{{/each}}
{{else}}
<tr>
<td colspan="3">
<td colspan="5">
No data available in table
</td>
</tr>