blob: a978588527080a3ff7d0ff952e054a1fc3467620 (
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
|
<li class="{% if action.goalName is defined %}goal{% else %}action{% endif %}"
title="{{ postEvent('Live.renderActionTooltip', action, visitInfo) }}">
<div>
{# Page view / Download / Outlink #}
{% if action.pageTitle|default(false) is not empty %}
<span class="truncated-text-line">{{ action.pageTitle|rawSafeDecoded }}</span>
{% endif %}
{% if action.siteSearchKeyword is defined %}
{% if action.type == 'search' %}
<img src='{{ action.icon }}' title='{{ 'Actions_SubmenuSitesearch'|translate }}'
class="action-list-action-icon search">
{% endif %}
<span class="truncated-text-line">{{ action.siteSearchKeyword|rawSafeDecoded }}</span>
{% endif %}
{% if action.url is not empty %}
{% if action.type == 'action' and action.pageTitle|default(false) is not empty %}<p>{% endif %}
{% if action.type == 'download' or action.type == 'outlink' %}
<img src='{{ action.icon }}' class="action-list-action-icon {{ action.type }}">
{% endif %}
{% if action.url|trim|lower starts with 'javascript:' or
action.url|trim|lower starts with 'vbscript:' or
action.url|trim|lower starts with 'data:' %}
{{ action.url }}
{% else %}
<a href="{{ action.url }}" rel="noreferrer" target="_blank"
class="action-list-url truncated-text-line">
{{ action.url|replace({'http://': '', 'https://': ''}) }}
</a>
{% endif %}
{% if action.type == 'action' and action.pageTitle|default(false) is not empty %}</p>{% endif %}
{% elseif action.type != 'search' %}
<p>
<span>{{ 'General_NotDefined'|translate('Actions_ColumnPageURL'|translate) }}</span>
</p>
{% endif %}
</div>
</li>
|