PDF rausgenommen
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
{% if action.customVariables is defined %}
|
||||
|
||||
{{ 'CustomVariables_CustomVariables'|translate }}:{% for id,customVariable in action.customVariables %}
|
||||
{% set name = 'customVariablePageName' ~ id %}
|
||||
{% set value = 'customVariablePageValue' ~ id %}
|
||||
|
||||
{# line break above is important #}
|
||||
- {{ customVariable[name]|rawSafeDecoded }} {% if customVariable[value]|length > 0 %} = {{ customVariable[value]|rawSafeDecoded }}{% endif %}
|
||||
{% endfor %}
|
||||
{% endif -%}
|
@ -0,0 +1,13 @@
|
||||
<div class="visitor-profile-summary visitor-profile-customvariables">
|
||||
<h1>{{ 'CustomVariables_CustomVariables'|translate }} ({{ scopeName }})</h1>
|
||||
<div>
|
||||
{%- for variable in variables -%}
|
||||
<p>
|
||||
<span>{{ variable.name }}: </span>
|
||||
{%- for value in variable.values -%}
|
||||
<strong title="{{ value.count }}x">{{ value.value }}</strong>{% if not loop.last %}, {% endif %}
|
||||
{%- endfor -%}
|
||||
</p>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,11 @@
|
||||
<div class="visitorCustomVariables">
|
||||
{% for id,customVariable in visitInfo.getColumn('customVariables') %}
|
||||
{% set name='customVariableName' ~ id %}
|
||||
{% set value='customVariableValue' ~ id %}
|
||||
<br/>
|
||||
<abbr class="visitorLogTooltip" title="{{ 'CustomVariables_CustomVariables'|translate }} ({{ 'CustomVariables_Index'|translate }} {{ id }})">
|
||||
{{ customVariable[name]|truncate(30) }}
|
||||
</abbr>
|
||||
{% if customVariable[value]|length > 0 %}: {{ customVariable[value]|truncate(50) }}{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
@ -0,0 +1,11 @@
|
||||
{% extends 'admin.twig' %}
|
||||
|
||||
{% block topcontrols %}
|
||||
<div class="top_bar_sites_selector piwikTopControl">
|
||||
<div piwik-siteselector show-selected-site="true" class="sites_autocomplete"></div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div piwik-manage-custom-vars>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user