From 2221872ff7c03cff8cb922a075e3841dc6548a98 Mon Sep 17 00:00:00 2001
From: pbarroca <pbarroca@afi-sa.fr>
Date: Thu, 7 Sep 2017 12:23:42 +0200
Subject: [PATCH] dev #64073 : stable infos in admin home

---
 VERSIONS_WIP/64073                                |  1 +
 .../modules/admin/views/scripts/index/index.phtml | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 VERSIONS_WIP/64073

diff --git a/VERSIONS_WIP/64073 b/VERSIONS_WIP/64073
new file mode 100644
index 00000000000..1b12e34be43
--- /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 a421300cb66..3f0a447d8d7 100644
--- a/application/modules/admin/views/scripts/index/index.phtml
+++ b/application/modules/admin/views/scripts/index/index.phtml
@@ -1,3 +1,18 @@
+<?php $skin = Class_Admin_Skin::current(); ?>
+
+<h2 style="display:inline;border:none">
+  <?php
+  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(['onclick' => 'window.open(\'http://wiki.bokeh-library-portal.org/index.php?title=7.10.0\'); return false',
+                                              'style' => 'background-color:#3377FF;padding:10px;text-transform:uppercase;']);
+  echo $this->Button($button);
+  ?>
+</h2>
+
 <h2 class="toggle_video">
   <?php
   Class_ScriptLoader::getInstance()->addJQueryReady('$(".toggle_video").click(function() {$(this).toggleClass("on");$(this).next().toggle();})');
-- 
GitLab