Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CustomVariables/templates/_profileSummary.twig')
-rw-r--r--plugins/CustomVariables/templates/_profileSummary.twig13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/CustomVariables/templates/_profileSummary.twig b/plugins/CustomVariables/templates/_profileSummary.twig
new file mode 100644
index 0000000000..3540faf5c6
--- /dev/null
+++ b/plugins/CustomVariables/templates/_profileSummary.twig
@@ -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>