قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 06:57:53 +00:00

* Show actions in visitorlog as a (unnumerated) timeline * use new svg icons in visitor log * use new icons also for visitor type * ligthen icons a bit * improve icon alignment * lighten icons bit more * adjust line color * Lighten svg images even further. * Updating screenshots. * show conversion count as green circle * Fixing tests. * Update expected screenshots.
26 خطوط
1.5 KiB
Twig
26 خطوط
1.5 KiB
Twig
<li class="action" title="{{ postEvent('Live.renderActionTooltip', action, visitInfo) }}">
|
|
<div>
|
|
{% if action.pageTitle|default(false) is not empty %}
|
|
<span class="truncated-text-line">{{ action.pageTitle|rawSafeDecoded }}</span>
|
|
{% endif %}
|
|
<img src='plugins/Morpheus/images/event.svg' title='{{ 'Events_Event'|translate }}' class="action-list-action-icon event">
|
|
<span class="truncated-text-line event">{{ action.eventCategory|rawSafeDecoded }}
|
|
- {{ action.eventAction|rawSafeDecoded }} {% if action.eventName is defined %}- {{ action.eventName|rawSafeDecoded }}{% endif %} {% if action.eventValue is defined %}[{{ action.eventValue }}]{% endif %}</span>
|
|
{% if action.url is not empty %}
|
|
{% if 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:' or
|
|
action.url|trim|lower starts with 'vbscript:' or
|
|
action.url|trim|lower starts with 'data:' %}
|
|
{{ action.url }}
|
|
{% else %}
|
|
<a href="{{ action.url|safelink|e('html_attr') }}" rel="noreferrer noopener" target="_blank" class="truncated-text-line">
|
|
{{ action.url|replace({'http://': '', 'https://': ''}) }}
|
|
</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</li>
|