blob: fa30e694b8ff173347d3776784f4b5403db8901b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{% if visitorData.totalPageViews > 0 %}
<div class="visitor-profile-summary visitor-profile-pages">
<h1>{{ 'Actions_RevisitedPages'|translate }}</h1>
<div>
<ul>
{% for url,count in visitorData.visitedPages %}
{% if loop.index < 6 and count > 1 %}
<li><span class="repeat icon-refresh" title="{{ 'Actions_PageViewsByVisitor'|translate }}">{{ count }}</span>
{% if url|trim|lower starts with 'javascript:' or
url|trim|lower starts with 'vbscript:' or
url|trim|lower starts with 'data:' %}
{{ url }}
{% else %}
<a href="{{ url }}" rel="noreferrer" target="_blank"
class="action-list-url truncated-text-line">
{{ url|replace({'http://': '', 'https://': ''}) }}
</a>
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% endif %}
|