diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-08-01 18:26:25 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-08-01 18:26:25 +0400 |
commit | 7df88bb03125a5da80b6e060262a360ffb83d576 (patch) | |
tree | 73434f494acc79154cc29ea30d7543ef4404eb25 /plugins/Live | |
parent | 112bda28a7e2047e41786d76e56e2219be178159 (diff) | |
parent | b3e7a973eb37b76f98f78e9f325561db25635642 (diff) |
Merge pull request #5883 from ThaDafinser/patch-2
In the Visitor Profile, show also the time of the visit fixes #5190
Diffstat (limited to 'plugins/Live')
-rw-r--r-- | plugins/Live/templates/getVisitList.twig | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/Live/templates/getVisitList.twig b/plugins/Live/templates/getVisitList.twig index 3f6978e5b3..478219748b 100644 --- a/plugins/Live/templates/getVisitList.twig +++ b/plugins/Live/templates/getVisitList.twig @@ -1,7 +1,17 @@ {% for visitInfo in visits.getRows() %} <li> <div> - <div class="visitor-profile-visit-title-row"><h2 class="visitor-profile-visit-title" data-idvisit="{{ visitInfo.getColumn('idVisit') }}" title="{{ 'Live_ClickToViewMoreAboutVisit'|translate }}">{{ 'General_Visit'|translate }} #{{ startCounter }}</h2>{% if visitInfo.getColumn('visitDuration') != 0 %}<span> - ({{ visitInfo.getColumn('visitDurationPretty')|raw }})</span>{% endif %}<span class="visitor-profile-date" title="{{ visitInfo.getColumn('serverDateTimePrettyFirstAction') }}">{{ visitInfo.getColumn('serverDatePrettyFirstAction') }}</span></div> + <div class="visitor-profile-visit-title-row"> + <h2 class="visitor-profile-visit-title" data-idvisit="{{ visitInfo.getColumn('idVisit') }}" title="{{ 'Live_ClickToViewMoreAboutVisit'|translate }}"> + {{ 'General_Visit'|translate }} #{{ startCounter }} + </h2> + {% if visitInfo.getColumn('visitDuration') != 0 %} + <span> - ({{ visitInfo.getColumn('visitDurationPretty')|raw }})</span> + {% endif %} + <span class="visitor-profile-date" title="{{ visitInfo.getColumn('serverDateTimePrettyFirstAction') }}"> + {{ visitInfo.getColumn('serverDateTimePrettyFirstAction') }} + </span> + </div> <ol class="visitor-profile-actions"> {% include "@Live/_actionsList.twig" with {'actionDetails': visitInfo.getColumn('actionDetails'), 'clientSideParameters': { @@ -14,4 +24,4 @@ </div> </li> {% set startCounter = startCounter + 1 %} -{% endfor %}
\ No newline at end of file +{% endfor %} |