blob: 4d06fd4e30d0f35e057c8fe0db3875f745fa58c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{% 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) %}
{% if emailSuperUser is defined and emailSuperUser %}
<div id="loadingError">{{ 'General_ErrorRequest'|translate('<a href="mailto:' ~ emailSuperUser ~ '">', '</a>')|raw }}</div>
{% else %}
<div id="loadingError">{{ 'General_ErrorRequest'|translate('', '') }}</div>
{% endif %}
{% endmacro %}
|