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/Actions/templates/_profileSummary.twig')
-rw-r--r--plugins/Actions/templates/_profileSummary.twig25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/Actions/templates/_profileSummary.twig b/plugins/Actions/templates/_profileSummary.twig
new file mode 100644
index 0000000000..fa30e694b8
--- /dev/null
+++ b/plugins/Actions/templates/_profileSummary.twig
@@ -0,0 +1,25 @@
+{% if visitorData.totalPageViews > 0 %}
+ <div class="visitor-profile-summary visitor-profile-pages">
+ <h1>{{ 'Actions_RevisitedPages'|translate }}</h1>
+ <div>
+ <ul>
+ {% for url,count in visitorData.visitedPages %}
+ {% if loop.index < 6 and count > 1 %}
+ <li><span class="repeat icon-refresh" title="{{ 'Actions_PageViewsByVisitor'|translate }}">{{ count }}</span>
+ {% if url|trim|lower starts with 'javascript:' or
+ url|trim|lower starts with 'vbscript:' or
+ url|trim|lower starts with 'data:' %}
+ {{ url }}
+ {% else %}
+ <a href="{{ url }}" rel="noreferrer" target="_blank"
+ class="action-list-url truncated-text-line">
+ {{ url|replace({'http://': '', 'https://': ''}) }}
+ </a>
+ {% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+{% endif %} \ No newline at end of file