1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/Contents/templates/_actionContent.twig
diosmosis 0af1f22f72 Indent actions belonging to a pageview (#14063)
* Proof of concept for grouping actions by the page they occur in.

* Add pageview to goals/ecommerce actionDetails in Live.getLastVisitsDetails.

* Make count of actions to display when collapsed configurable.

* Quick selector fix.

* unfinished commit

* Collapse multiple adjacent content items in the visitor log.

* Get content collapsing to work w/ 3.x-dev changes.

* Forgot to add Live config file.

* Get to work w/ visitor profile and make sure last action does not have border so it looks like it correctly ends.

* Fix some issues from review.

* More styling tweaks.

* another styling tweak

* Update screenshots.

* Show page refreshes and allow expanding them in new implementation.

* Update some screenshots.

* Make sure tooltip is replaced correctly when showing refreshes.

* Another styling tweak.

* Add UI test + fix page refresh issue.

* Fix action group merging logic.

* Fix another actions grouping issue.

* Fixes for ending left border in certain edge cases.

* Another UI tweak.

* comparison threshold, random failure fix, update screenshots + another css tweak

* more css tweaks

* possible bug fix

* Last couple CSS fixes.

* More test fixes.
2019-05-14 16:43:15 -07:00

18 خطوط
869 B
Twig

<li class="content"
title="{{ postEvent('Live.renderActionTooltip', action, visitInfo) }}">
<div>
{% if action.contentInteraction %}
<img src='{{ action.iconSVG|default(action.icon) }}' title='{{ 'Contents_ContentInteraction'|translate }}'
class="action-list-action-icon content-interaction">
{% else %}
<img src='{{ action.iconSVG|default(action.icon) }}' title='{{ 'Contents_ContentImpression'|translate }}'
class="action-list-action-icon content-impression">
{% endif %}
{% if action.contentInteraction %}
<span class="content-interaction">[{{ action.contentInteraction }}]</span>
{% endif %}
<span class="content-name">{{ action.contentName }}</span> -
<span class="content-piece">{{ action.contentPiece }}</span>
</div>
</li>