From 828b15666d83cbf1613900865e40facb231b1800 Mon Sep 17 00:00:00 2001 From: pbarroca <pbarroca@afi-sa.fr> Date: Thu, 7 Sep 2017 14:13:50 +0200 Subject: [PATCH] dev #64073 : limit info display to stable bokeh --- application/modules/admin/views/scripts/index/index.phtml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/modules/admin/views/scripts/index/index.phtml b/application/modules/admin/views/scripts/index/index.phtml index 3f0a447d8d7..4393dcad124 100644 --- a/application/modules/admin/views/scripts/index/index.phtml +++ b/application/modules/admin/views/scripts/index/index.phtml @@ -1,10 +1,11 @@ <?php $skin = Class_Admin_Skin::current(); ?> - +<?php if ('stable' == BOKEH_VERSION) { ?> <h2 style="display:inline;border:none"> <?php echo $skin->renderMenuIconOn('tag', $this, ['style' => 'vertical-align:middle']) - . ' ' . $this->_('Nouvelle version'); + . ' ' + . $this->_('Nouvelle version'); $button = (new Class_Entity())->setText($this->_('Découvrir les nouveautés de la version 7.10')) ->setAttribs(['onclick' => 'window.open(\'http://wiki.bokeh-library-portal.org/index.php?title=7.10.0\'); return false', @@ -12,7 +13,7 @@ echo $this->Button($button); ?> </h2> - +<?php } ?> <h2 class="toggle_video"> <?php Class_ScriptLoader::getInstance()->addJQueryReady('$(".toggle_video").click(function() {$(this).toggleClass("on");$(this).next().toggle();})'); -- GitLab