aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-09-18 13:34:22 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-09-18 13:34:22 +0200
commitca74b2fca3711ef80542cc69269b2d9a654e3e5a (patch)
tree4416f3bbe2d2d559557630c8a81bd5c27d6300d0 /app/views/helpers/javascript_vars.phtml
parent5c752f71e9bd07d2e8f9ffd4b246cf4216c7a85f (diff)
parent0c012b006c868db294b1c227f82fb5861075001f (diff)
Merge pull request #620 from plopoyop/dev
Ajout d'un timeout pour la notification HTML5
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 2144f1576..bf0ffdb76 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -54,6 +54,8 @@ echo 'authType="', $authType, '",',
echo 'str_confirmation="', Minz_Translate::t('confirm_action'), '"', ",\n";
echo 'str_notif_title_articles="', Minz_Translate::t('notif_title_new_articles'), '"', ",\n";
echo 'str_notif_body_articles="', Minz_Translate::t('notif_body_new_articles'), '"', ",\n";
+echo 'html5_notif_timeout=', $this->conf->html5_notif_timeout,",\n";
+
$autoActualise = Minz_Session::param('actualize_feeds', false);
echo 'auto_actualize_feeds=', $autoActualise ? 'true' : 'false', ";\n";