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:
authorJesse <jesse@orangecoding.com>2014-07-25 03:37:00 +0400
committerJesse <jesse@orangecoding.com>2014-07-25 03:37:00 +0400
commitac43db2a209a6b2566682c76db2a817a0b27c946 (patch)
tree639feabc953ee87b745851edc6abcb8a1c872a08 /plugins/Morpheus
parent2318eddeaedbc88e51c7ba9745c7bfdc9fb0b71d (diff)
parent5b1fa81cba0fe54c5118a642ceacac91159f45da (diff)
Merge branch 'master' of https://github.com/piwik/piwik
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/stylesheets/uibase/_loading.less1
-rw-r--r--plugins/Morpheus/templates/admin.twig2
-rw-r--r--plugins/Morpheus/templates/ajaxMacros.twig8
3 files changed, 7 insertions, 4 deletions
diff --git a/plugins/Morpheus/stylesheets/uibase/_loading.less b/plugins/Morpheus/stylesheets/uibase/_loading.less
index e8b189d0d0..e68d0f0a69 100644
--- a/plugins/Morpheus/stylesheets/uibase/_loading.less
+++ b/plugins/Morpheus/stylesheets/uibase/_loading.less
@@ -20,7 +20,6 @@
font-size: 1.1em;
color: #F88D22;
padding: 0.5em;
- margin-left: 30%;
display: none;
padding-top: 40px;
} \ No newline at end of file
diff --git a/plugins/Morpheus/templates/admin.twig b/plugins/Morpheus/templates/admin.twig
index b07d8343ef..02ba88a17e 100644
--- a/plugins/Morpheus/templates/admin.twig
+++ b/plugins/Morpheus/templates/admin.twig
@@ -30,7 +30,7 @@
{% include "@CoreHome/_topScreen.twig" %}
{% import 'ajaxMacros.twig' as ajax %}
- {{ ajax.requestErrorDiv }}
+ {{ ajax.requestErrorDiv(emailSuperUser|default('')) }}
{{ postEvent("Template.beforeContent", "admin", currentModule) }}
<div id="container">
diff --git a/plugins/Morpheus/templates/ajaxMacros.twig b/plugins/Morpheus/templates/ajaxMacros.twig
index eddeeab10e..4d06fd4e30 100644
--- a/plugins/Morpheus/templates/ajaxMacros.twig
+++ b/plugins/Morpheus/templates/ajaxMacros.twig
@@ -13,6 +13,10 @@
</div>
{% endmacro %}
-{% macro requestErrorDiv() %}
-<div id="loadingError">{{ 'General_ErrorRequest'|translate }}</div>
+{% 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 %} \ No newline at end of file