diff --git a/VERSIONS_WIP/64073 b/VERSIONS_WIP/64073 new file mode 100644 index 0000000000000000000000000000000000000000..1b12e34be432b110655ba336eb1cd7de206f1eb1 --- /dev/null +++ b/VERSIONS_WIP/64073 @@ -0,0 +1 @@ + - ticket #64073 : Nouvelle version stable : lien vers infos de version et documentation en haut de page de l'accueil de l'administration \ No newline at end of file diff --git a/application/modules/admin/views/scripts/index/index.phtml b/application/modules/admin/views/scripts/index/index.phtml index a421300cb6622fe1106f8893334deb2debe79403..37af2474069050a7c3a5db645c521ee990731952 100644 --- a/application/modules/admin/views/scripts/index/index.phtml +++ b/application/modules/admin/views/scripts/index/index.phtml @@ -1,3 +1,31 @@ +<?php +$skin = Class_Admin_Skin::current(); +?> +<h2 style="display:inline;border:none"> + <?php + Class_ScriptLoader::getInstance() + ->addInlineStyle(' +#learn_more_7_10 { + background-color:var(--bokeh-event); + padding:10px; + text-transform:uppercase; +} +#learn_more_7_10:hover { + background-color:var(--bokeh-event-highlight); +} +'); + echo $skin->renderMenuIconOn('tag', $this, + ['style' => 'vertical-align:middle']) + . ' ' + . $this->_('Nouvelle version'); + + $button = (new Class_Entity())->setText($this->_('Découvrir les nouveautés de la version 7.10')) + ->setAttribs(['id' => 'learn_more_7_10', + 'onclick' => 'window.open(\'http://wiki.bokeh-library-portal.org/index.php?title=7.10.0\'); return false']); + echo $this->Button($button); + ?> +</h2> + <h2 class="toggle_video"> <?php Class_ScriptLoader::getInstance()->addJQueryReady('$(".toggle_video").click(function() {$(this).toggleClass("on");$(this).next().toggle();})');