merge
This commit is contained in:
commit
046a724272
4209 changed files with 1186656 additions and 0 deletions
|
|
@ -0,0 +1,62 @@
|
|||
{% macro customVar(id, customVariable) %}
|
||||
{% set name='customVariableName' ~ id %}
|
||||
{% set value='customVariableValue' ~ id %}
|
||||
<li><span>{{ customVariable[name]|truncate(30) }}</span>{% if customVariable[value]|length > 0 %}<strong>{{ customVariable[value]|truncate(50) }}</strong>{% endif %}</li>
|
||||
{% endmacro %}
|
||||
{% import _self as macros %}
|
||||
{% if showLocation|default(false) %}
|
||||
<div class="visitor-profile-latest-visit-loc" title="{{ visitData.location }}">
|
||||
<img src="{{ visitData.countryFlag }}"/> <span>{% if visitData.city is not empty %}{{ visitData.city }}{% else %}{{ visitData.country }}{% endif %}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="visitor-profile-latest-visit-column">
|
||||
<ul>
|
||||
<li>
|
||||
<span>{{ 'General_IP'|translate }}</span><strong {% if visitData.providerName is not empty %}title="{{ 'Provider_ColumnProvider'|translate }}: {{ visitData.providerName }}"{% endif %}>{{ visitData.visitIp }}</strong>
|
||||
</li>
|
||||
<li class="visitor-profile-id">
|
||||
<span>{{ 'General_Id'|translate|upper }}</span>
|
||||
{% if widgetizedLink is defined %}<a class="visitor-profile-widget-link" href="{{ widgetizedLink }}" target="_blank" title="{{ 'Widgetize_OpenInNewWindow'|translate }} - {{ 'Live_VisitorProfile'|translate }} {{ 'General_Id'|translate|upper }} {{ visitData.visitorId }}">{% endif %}
|
||||
<strong>{{ visitData.visitorId }}</strong>
|
||||
{% if widgetizedLink is defined %}</a>{% endif %}
|
||||
<a class="visitor-profile-export" href="{{ exportLink }}" target="_blank" title="{{ 'General_ExportThisReport'|translate }}" style="visibility:hidden">
|
||||
<img src="plugins/Zeitgeist/images/export.png"/>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<div class="visitor-profile-browser" title="{% if visitData.plugins is defined %}{{ 'UserSettings_BrowserWithPluginsEnabled'|translate(visitData.browserName, visitData.plugins) }}{% else %}{{ 'UserSettings_BrowserWithNoPluginsEnabled'|translate(visitData.browserName) }}{% endif %}">
|
||||
<img src="{{ visitData.browserIcon }}"/><span>{{ visitData.browserName|split(' ')[0] }}</span>
|
||||
</div>
|
||||
<div class="visitor-profile-os">
|
||||
<img src="{{ visitData.operatingSystemIcon }}"/><span>{{ visitData.operatingSystemShortName }}</span>
|
||||
</div>
|
||||
</li>
|
||||
<li><span>{{ 'UserSettings_ColumnResolution'|translate }}</span><strong>{{ visitData.resolution }}</strong></li>
|
||||
{% if visitReferralSummary is defined %}
|
||||
{%- set keywordNotDefined = 'General_NotDefined'|translate('General_ColumnKeyword'|translate) -%}
|
||||
<li>
|
||||
<span>{{ 'General_DateRangeFrom'|translate }}</span>
|
||||
<strong {% if visitData.referrerType == 'search' and '(' not in visitReferralSummary %}title="{{ keywordNotDefined }}"{% endif %}>{{ visitReferralSummary }}</strong>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="visitor-profile-latest-visit-column">
|
||||
<ul>
|
||||
{% for id,customVariable in visitData.customVariables %}
|
||||
{% if loop.index0 < 4 %}
|
||||
{{ macros.customVar(id, customVariable) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if visitData.customVariables|length > 4 %}
|
||||
<ul class="visitor-profile-extra-cvars" style="display:none;">
|
||||
{% for id,customVariable in visitData.customVariables %}
|
||||
{% if loop.index0 >= 4 %}
|
||||
{{ macros.customVar(id, customVariable) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="visitor-profile-see-more-cvars"><a href="#">▼</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue