blob: 78ca7801355333c5a449e6625fdf8008dcde997d (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{% set previousAction = false %}
{% for actionGroup in actionGroups %}
{% if actionGroup.pageviewAction is not empty %}
{{ postEvent('Live.renderAction', actionGroup.pageviewAction, previousAction, visitInfo) }}
{% set previousAction = actionGroup.pageviewAction %}
{% endif %}
{% if actionGroup.actionsOnPage is not empty or actionGroup.refreshActions is not empty %}
{% if actionGroup.pageviewAction is not empty %}
<li class="pageviewActions" data-view-count="{{ actionGroup.refreshActions|length + 1 }}" data-actions-on-page="{{ actionGroup.actionsOnPage|length }}">
<ol class="actionList">
{% endif %}
{% for action in actionGroup.refreshActions %}
{{ postEvent('Live.renderAction', action, previousAction, visitInfo) }}
{% set previousAction = action %}
{% endfor %}
<li class="refresh-divider"></li>
{% for action in actionGroup.actionsOnPage %}
{{ postEvent('Live.renderAction', action, previousAction, visitInfo) }}
{% set previousAction = action %}
{% endfor %}
{% if actionGroup.pageviewAction is not empty %}
<li class="actionsForPageExpander expanded" style="display:none;">
<span>
<a class="show-more-actions" href="javascript:" style="display:none;">Show <span class="show-actions-count"></span> more actions that occurred on this page...</a>
<a class="show-less-actions" href="javascript:">Show less actions...</a>
</span>
</li>
</ol>
</li>
{% endif %}
{% endif %}
{% endfor %}
{% if visitInfo.truncatedActionsCount is defined %}
<li class="more">
<span class="icon-info"></span>
{{ 'Live_MorePagesNotDisplayed'|translate }}
</li>
{% endif %}
|