diff options
author | sgiehl <stefan@piwik.org> | 2016-06-27 02:00:28 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-06-27 21:05:40 +0300 |
commit | f35f2ed7e8d60fdd3731fb2037f161ecea66d697 (patch) | |
tree | 814c6d5b058f145824bb9beacde32e5976ab9752 /plugins/Live/templates/_actionsList.twig | |
parent | 669cd70ef36a9a3f627adec0c980779e7762e165 (diff) |
update tests with new order
Diffstat (limited to 'plugins/Live/templates/_actionsList.twig')
-rw-r--r-- | plugins/Live/templates/_actionsList.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Live/templates/_actionsList.twig b/plugins/Live/templates/_actionsList.twig index d4ee6c203f..d83fcc3952 100644 --- a/plugins/Live/templates/_actionsList.twig +++ b/plugins/Live/templates/_actionsList.twig @@ -101,10 +101,14 @@ and previousAction.url|default(false) == action.url %} {# For events, do not show (url) if the Event URL is the same as the URL last displayed #} {% else %} + {% if action.url|trim|lower starts with 'javascript://' %} + {{ action.url }} + {% else %} <a href="{{ action.url }}" rel="noreferrer" target="_blank" class="{% if action.eventCategory|default(false) is empty %}action-list-url{# don't put URL on new line for events #}{% endif %} truncated-text-line" {% if overrideLinkStyle is not defined or overrideLinkStyle %}style="text-decoration:underline;"{% endif %}> {{ action.url }} </a> + {% endif %} {% endif %} {% if action.type == 'action' and action.pageTitle|default(false) is not empty %}</p>{% endif %} {% elseif action.type != 'search' and action.type != 'event' %} |