From 3601bd2e2d605e12a954b816e330df2e6e6dddf2 Mon Sep 17 00:00:00 2001 From: efalcy <efalcy@afi-sa.fr> Date: Tue, 26 Feb 2019 14:51:58 +0100 Subject: [PATCH] dev#87298 : bokeh day communication --- VERSIONS_WIP/87298 | 1 + .../admin/views/scripts/index/index.phtml | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 VERSIONS_WIP/87298 diff --git a/VERSIONS_WIP/87298 b/VERSIONS_WIP/87298 new file mode 100644 index 00000000000..237237eb925 --- /dev/null +++ b/VERSIONS_WIP/87298 @@ -0,0 +1 @@ + - ticket #87298 : Affichage de la journée Bokeh du 4 avril coté admin \ 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 55a58b6b026..18a4cacdfe7 100644 --- a/application/modules/admin/views/scripts/index/index.phtml +++ b/application/modules/admin/views/scripts/index/index.phtml @@ -1,3 +1,32 @@ + +<?php +$skin = Class_Admin_Skin::current(); + +echo $this->tag('h2',$skin->renderMenuIconOn('tag',$this). + $this->tag('span','Journée communautaire BOKEH 2019')); + +?> + + +<div id="learn_more"> + La médiathèque de <b>Caluire et Cuire (69)</b> organise <b>la journée communautaire Bokeh du 4 Avril 2019.</b><br/> +<img alt="" src="https://www.bokeh-library-portal.org/userfiles/image/journeesbokeh/bg_adulte.jpg" style="width:200px;margin-right:1%;"/> +<?php + +echo $this->Button((new Class_Entity()) + ->setText('Au programme') + ->setImage($skin->renderButtonIconOn('right',$this)) + ->setAttribs(['onclick' => 'window.open(\'https://www.bokeh-library-portal.org/cms/articleview/id/97\');'])); + + +echo $this->Button((new Class_Entity()) + ->setText('Inscrivez-vous !') + ->setImage($skin->renderButtonIconOn('right',$this)) + ->setAttribs(['onclick' => 'window.open(\'https://huit.re/journeebokeh\');'])); + +?> + +</div> <h2 class="toggle_video"> <?php Class_ScriptLoader::getInstance()->addJQueryReady('$(".toggle_video").click(function() {$(this).toggleClass("on");$(this).next().toggle();})'); -- GitLab