diff options
author | Stefan Giehl <stefan@matomo.org> | 2019-02-13 01:31:08 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-02-13 01:31:08 +0300 |
commit | c6cc4cd89e3b64767219293aab33863b9c501684 (patch) | |
tree | 203416d78a5c277cc4aedbfc3811ac981344ae62 /plugins/Events | |
parent | 6c4bfb8b8ea121e326110cfddd50ced30a90fb8a (diff) |
Show actions in visitorlog as a (unnumerated) timeline (#13916)
* 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.
Diffstat (limited to 'plugins/Events')
-rw-r--r-- | plugins/Events/VisitorDetails.php | 2 | ||||
-rw-r--r-- | plugins/Events/templates/_actionEvent.twig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Events/VisitorDetails.php b/plugins/Events/VisitorDetails.php index 5644874469..7c62a9c184 100644 --- a/plugins/Events/VisitorDetails.php +++ b/plugins/Events/VisitorDetails.php @@ -21,7 +21,7 @@ class VisitorDetails extends VisitorDetailsAbstract { if (!empty($action['eventType'])) { $action['type'] = 'event'; - $action['icon'] = 'plugins/Morpheus/images/event.png'; + $action['icon'] = 'plugins/Morpheus/images/event.svg'; $action['title'] = Piwik::translate('Events_Event'); $action['subtitle'] = Piwik::translate('Event_Category') . ': "' . $action['eventCategory'] . "'"; diff --git a/plugins/Events/templates/_actionEvent.twig b/plugins/Events/templates/_actionEvent.twig index 9b2588aa2c..70bcf4e69a 100644 --- a/plugins/Events/templates/_actionEvent.twig +++ b/plugins/Events/templates/_actionEvent.twig @@ -3,7 +3,7 @@ {% if action.pageTitle|default(false) is not empty %} <span class="truncated-text-line">{{ action.pageTitle|rawSafeDecoded }}</span> {% endif %} - <img src='plugins/Morpheus/images/event.png' title='{{ 'Events_Event'|translate }}' class="action-list-action-icon event"> + <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 %} |