update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -7,10 +7,21 @@
|
|||
<div style="display:none;" class="idvisit">{{ visitor.idVisit }}</div>
|
||||
<div title="{{ visitor.actionDetails|length }} {{ 'General_Actions'|translate }}" class="datetime">
|
||||
<span style="display:none;" class="serverTimestamp">{{ visitor.serverTimestamp|raw }}</span>
|
||||
{{ visitor.serverDatePretty }} - {{ visitor.serverTimePretty }} {% if visitor.visitDuration > 0 %}<em>({{ visitor.visitDurationPretty|raw }})</em>{% endif %}
|
||||
<img src="{{ visitor.countryFlag }}" title="{{ visitor.location }}, {{ 'Provider_ColumnProvider'|translate }} {{ visitor.providerName }}"/>
|
||||
<img src="{{ visitor.browserIcon }}" title="{{ visitor.browserName }}, {{ 'General_Plugins'|translate }}: {{ visitor.plugins }}"/>
|
||||
<img src="{{ visitor.operatingSystemIcon }}" title="{{ visitor.operatingSystem }}, {{ visitor.resolution }}"/>
|
||||
{{ postEvent('Live.visitorLogWidgetViewBeforeVisitInfo', visitor) }}
|
||||
{% set year = visitor.serverTimestamp|date('Y') %}
|
||||
{{ visitor.serverDatePretty|replace({(year): ' '}) }} - {{ visitor.serverTimePretty }} {% if visitor.visitDuration > 0 %}<em>({{ visitor.visitDurationPretty|raw }})</em>{% endif %}
|
||||
{% if visitor.visitorId|default(false) is not empty %}
|
||||
<a class="visits-live-launch-visitor-profile rightLink" title="{{ 'Live_ViewVisitorProfile'|translate }} {% if visitor.userId is not empty %}{{ visitor.userId|raw }}{% endif %}" data-visitor-id="{{ visitor.visitorId }}">
|
||||
{% if visitor.userId is not empty %}<br/>{% endif %}
|
||||
<img src="plugins/Live/images/visitorProfileLaunch.png"/>
|
||||
{{ visitor.userId|default('')|raw }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<br />
|
||||
|
||||
{% if visitor.countryFlag is defined %} <img src="{{ visitor.countryFlag }}" title="{{ visitor.location }}, {{ 'Provider_ColumnProvider'|translate }} {% if visitor.providerName is defined %}{{ visitor.providerName }}{% endif %}"/>{% endif %}
|
||||
{% if visitor.browserIcon is defined %} <img src="{{ visitor.browserIcon }}" title="{{ visitor.browser }}{% if visitor.plugins is defined %}, {{ 'General_Plugins'|translate }}: {{ visitor.plugins }}{% endif %}"/>{% endif %}
|
||||
{% if visitor.operatingSystemIcon is defined %} <img src="{{ visitor.operatingSystemIcon }}" title="{{ visitor.operatingSystem }}{% if visitor.resolution is defined %}, {{ visitor.resolution }}{% endif %}"/>{% endif %}
|
||||
|
||||
{% if visitor.visitConverted %}
|
||||
<span title="{{ 'General_VisitConvertedNGoals'|translate(visitor.goalConversions) }}" class='visitorRank'>
|
||||
|
|
@ -18,29 +29,24 @@
|
|||
<span class='hash'>#</span>
|
||||
{{ visitor.goalConversions }}
|
||||
{% if visitor.visitEcommerceStatusIcon %}
|
||||
-
|
||||
|
||||
<img src="{{ visitor.visitEcommerceStatusIcon }}" title="{{ visitor.visitEcommerceStatus }}"/>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if visitor.visitorTypeIcon %}
|
||||
- <img src="{{ visitor.visitorTypeIcon }}" title="{{ 'General_ReturningVisitor'|translate }}"/>
|
||||
<img src="{{ visitor.visitorTypeIcon }}" title="{{ 'General_ReturningVisitor'|translate }}"/>
|
||||
{% endif %}
|
||||
{% if visitor.visitorId|default(false) is not empty %}
|
||||
<a class="visits-live-launch-visitor-profile rightLink" title="{{ 'Live_ViewVisitorProfile'|translate }}" data-visitor-id="{{ visitor.visitorId }}">
|
||||
<img src="plugins/Live/images/visitorProfileLaunch.png"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if visitor.visitIp %}- <span title="{% if visitor.visitorId is not empty %}{{ 'General_VisitorID'|translate }}: {{ visitor.visitorId }}{% endif %}">
|
||||
|
||||
{% if visitor.visitIp %} <span title="{% if visitor.visitorId is not empty %}{{ 'General_VisitorID'|translate }}: {{ visitor.visitorId }}{% endif %}">
|
||||
IP: {{ visitor.visitIp }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<!--<div class="settings"></div>-->
|
||||
<div class="referrer">
|
||||
{% if visitor.referrerType != 'direct' %}
|
||||
<span class="referrer">
|
||||
{% if visitor.referrerType is defined and visitor.referrerType != 'direct' %}
|
||||
{{ 'General_FromReferrer'|translate }}
|
||||
{% if visitor.referrerUrl is not empty %}
|
||||
<a href="{{ visitor.referrerUrl }}" target="_blank">
|
||||
<a href="{{ visitor.referrerUrl }}" rel="noreferrer" target="_blank">
|
||||
{% endif %}
|
||||
{% if visitor.searchEngineIcon is defined %}
|
||||
<img src="{{ visitor.searchEngineIcon }}" />
|
||||
|
|
@ -58,39 +64,41 @@
|
|||
<span class='hash'>#</span> {{ visitor.referrerKeywordPosition }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% elseif visitor.referrerType is defined %}
|
||||
{{ 'Referrers_DirectEntry'|translate }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</span></div>
|
||||
<div id="{{ visitor.idVisit }}_actions" class="settings">
|
||||
<span class="pagesTitle" title="{{ visitor.actionDetails|length }} {{ 'General_Actions'|translate }}">{{ 'General_Pages'|translate }}:</span>
|
||||
<span class="pagesTitle" title="{{ visitor.actionDetails|length }} {{ 'General_Actions'|translate }}">{{ 'General_Actions'|translate }}:</span>
|
||||
{% set col = 0 %}
|
||||
{% for action in visitor.actionDetails %}
|
||||
{% if loop.index <= maxPagesDisplayedByVisitor %}
|
||||
{% if action.type == 'ecommerceOrder' or action.type == 'ecommerceAbandonedCart' %}
|
||||
{% set title %}
|
||||
{% if action.type == 'ecommerceOrder' %}
|
||||
{{ 'Goals_EcommerceOrder'|translate }}
|
||||
{%- if action.type == 'ecommerceOrder' %}
|
||||
{{- 'Goals_EcommerceOrder'|translate -}}
|
||||
{% else %}
|
||||
{{ 'Goals_AbandonedCart'|translate }}
|
||||
{% endif %}
|
||||
-
|
||||
{% if action.type == 'ecommerceOrder' %}
|
||||
{{ 'General_ColumnRevenue'|translate }}:
|
||||
{% else %}
|
||||
{% set revenueLeft %}
|
||||
{{ 'General_ColumnRevenue'|translate }}
|
||||
{% endset %}
|
||||
{{ 'Goals_LeftInCart'|translate(revenueLeft) }}:
|
||||
{% endif %}
|
||||
{{ action.revenue|money(idSite)|raw }} - {{ action.serverTimePretty }}
|
||||
{% if action.itemDetails is not empty %}
|
||||
{% for product in action.itemDetails %}
|
||||
# {{ product.itemSKU }}{% if product.itemName is not empty %}: {{ product.itemName }}{% endif %}{% if product.itemCategory is not empty %} ({{ product.itemCategory }}){% endif %}, {{ 'General_Quantity'|translate }}: {{ product.quantity }}, {{ 'General_Price'|translate }}: {{ product.price|money(idSite)|raw }}
|
||||
{% endfor %}
|
||||
{{- 'Goals_AbandonedCart'|translate -}}
|
||||
{% endif %}
|
||||
{{- "\n - " -}}
|
||||
{%- if action.type == 'ecommerceOrder' -%}
|
||||
{{- 'General_ColumnRevenue'|translate -}}:
|
||||
{%- else -%}
|
||||
{%- set revenueLeft -%}
|
||||
{{- 'General_ColumnRevenue'|translate -}}
|
||||
{%- endset -%}
|
||||
{{- 'Goals_LeftInCart'|translate(revenueLeft) -}}:
|
||||
{%- endif %} {{ action.revenue|money(idSite)|raw -}}
|
||||
|
||||
{{- "\n - " -}}{{- action.serverTimePretty -}}
|
||||
{{- "\n" -}}
|
||||
{% if action.itemDetails is not empty -%}
|
||||
{% for product in action.itemDetails -%}
|
||||
{{- "\n# " -}}{{ product.itemSKU }}{% if product.itemName is not empty %}: {{ product.itemName }}{% endif %}{% if product.itemCategory is not empty %} ({{ product.itemCategory }}){% endif %}, {{ 'General_Quantity'|translate }}: {{ product.quantity }}, {{ 'General_Price'|translate }}: {{ product.price|money(idSite)|raw }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{% endset %}
|
||||
<span title="{{ title }}">
|
||||
<span title="{{- title -}}">
|
||||
<img class='iconPadding' src="{{ action.icon }}"/>
|
||||
{% if action.type == 'ecommerceOrder' %}
|
||||
{{ 'General_ColumnRevenue'|translate }}: {{ action.revenue|money(idSite)|raw }}
|
||||
|
|
@ -105,7 +113,7 @@
|
|||
{% if action.type == 'action' %}
|
||||
{# white spacing matters as Chrome tooltip display whitespaces #}
|
||||
{% set title %}
|
||||
{% if action.pageTitle is not empty %}{{ action.pageTitle }}{% endif %}
|
||||
{% if action.pageTitle is not empty %}{{ action.pageTitle|rawSafeDecoded }}{% endif %}
|
||||
|
||||
{{ action.serverTimePretty }}
|
||||
{% if action.timeSpentPretty is defined %}{{ 'General_TimeOnPage'|translate }}: {{ action.timeSpentPretty|raw }}{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue