blob: da40e5bf91ce59cccb993362e09b1c7a5a3fe8ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% macro errorDiv(id='ajaxError') %}
<div id="{{ id }}" style="display:none"></div>
{% endmacro %}
{% macro loadingDiv(id='ajaxLoadingDiv') %}
<div id="{{ id }}" style="display:none;">
<div class="loadingPiwik">
<img src="plugins/Morpheus/images/loading-blue.gif" alt="{{ 'General_LoadingData'|translate }}" />{{ 'General_LoadingData'|translate }}
</div>
<div class="loadingSegment">
{{ 'SegmentEditor_LoadingSegmentedDataMayTakeSomeTime'|translate }}
</div>
</div>
{% endmacro %}
{% macro requestErrorDiv(emailSuperUser, areAdsForProfessionalServicesEnabled = false, currentModule = '') %}
<div id="loadingError">
<div class="alert alert-danger">
{% if emailSuperUser is defined and emailSuperUser %}
{{ 'General_ErrorRequest'|translate('<a href="mailto:' ~ emailSuperUser ~ '">', '</a>')|raw }}
{% else %}
{{ 'General_ErrorRequest'|translate('', '') }}
{% endif %}
<br /><br />
{{ 'General_NeedMoreHelp'|translate }}
<a rel="noreferrer noopener" target="_blank" href="https://matomo.org/faq/troubleshooting/faq_19489/">{{ 'General_Faq'|translate }}</a> –
<a rel="noreferrer noopener" target="_blank" href="https://forum.matomo.org/">{{ 'Feedback_CommunityHelp'|translate }}</a>
{%- if areAdsForProfessionalServicesEnabled %}
–
{% set supportUrl = 'https://matomo.org/support-plans/?pk_campaign=Help&pk_medium=AjaxError&pk_content=' ~ currentModule ~ '&pk_source=Matomo_App' %}
<a rel="noreferrer noopener" target="_blank" href="{{ supportUrl|e('html_attr') }}">{{ 'Feedback_ProfessionalHelp'|translate }}</a>
{%- endif %}.
</div>
</div>
{% endmacro %}
|