Improve referrer display

This commit is contained in:
R. Miles McCain 2020-04-16 11:19:29 -04:00
parent d44c657943
commit 7ecd90c407
No known key found for this signature in database
GPG Key ID: 91CB47BDDF2671A5

View File

@ -98,7 +98,7 @@
<tbody> <tbody>
{% for referrer in stats.referrers %} {% for referrer in stats.referrers %}
<tr> <tr>
<td>{{referrer.referrer|default:"Direct"|urlize}}</td> <td>{{referrer.referrer|default:"Direct"|urlizetrunc:"40"}}</td>
<td class="rf">{{referrer.count|intcomma}}</td> <td class="rf">{{referrer.count|intcomma}}</td>
</tr> </tr>
{% endfor %} {% endfor %}