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:
authorsgiehl <stefan@piwik.org>2019-01-06 20:18:57 +0300
committersgiehl <stefan@piwik.org>2019-01-06 20:18:57 +0300
commitd16f5b2de775cabcac62b518b1fa5f5908c5fd36 (patch)
tree96396004aab1e2e7010c31388707a99b66d78a90
parentd1850e04081c9a7b0be584e4957414e50ac8cd22 (diff)
Revert "Hide mainurl visitor log action list"3.8.0-rc2
This reverts commit d1850e04081c9a7b0be584e4957414e50ac8cd22.
-rw-r--r--plugins/Live/VisitorDetails.php1
-rw-r--r--plugins/Live/templates/_actionCommon.twig2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Live/VisitorDetails.php b/plugins/Live/VisitorDetails.php
index 6373d933be..376186ac08 100644
--- a/plugins/Live/VisitorDetails.php
+++ b/plugins/Live/VisitorDetails.php
@@ -89,7 +89,6 @@ class VisitorDetails extends VisitorDetailsAbstract
}
$view = new View($template);
- $view->mainUrl = trim(Site::getMainUrlFor($this->getIdSite()));
$view->action = $action;
$view->previousAction = $previousAction;
$view->visitInfo = $visitorDetails;
diff --git a/plugins/Live/templates/_actionCommon.twig b/plugins/Live/templates/_actionCommon.twig
index 84613a4141..50144fecc7 100644
--- a/plugins/Live/templates/_actionCommon.twig
+++ b/plugins/Live/templates/_actionCommon.twig
@@ -24,7 +24,7 @@
{% else %}
<a href="{{ action.url|safelink|e('html_attr') }}" rel="noreferrer noopener" target="_blank"
class="action-list-url truncated-text-line">
- {{ action.url|replace({(mainUrl): '', 'http://': '', 'https://': ''}) }}
+ {{ action.url|replace({'http://': '', 'https://': ''}) }}
</a>
{% endif %}
{% if action.type == 'action' and action.pageTitle|default(false) is not empty %}</p>{% endif %}