Skip to content
Snippets Groups Projects
Commit 4c6b6ed8 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #55147 add link to Bokeh Days subscription

parent 73a50398
Branches
Tags
5 merge requests!2080Sandbox detach zf from storm,!2061Master,!2035Dev#55147 ponge s73,!2030Dev#55147 ponge s73,!2028dev #55147 add link to Bokeh Days subscription
Pipeline #496 passed with stage
in 13 minutes and 53 seconds
- ticket #55147 : Administration : ajout d'un lien pour accéder à l'inscription aux journées Bokeh du 23 et 24 mars 2017
\ No newline at end of file
......@@ -39,6 +39,13 @@ foreach ($modstats as $stat) {
<?php echo $this->cosmoStatus(); ?>
<h2><?php echo $this->_('Participez à la communauté'); ?> !</h2>
<?php
echo $this->tag('p',
$this->tagAnchor('http://bokeh-library-portal.org/journees-communautaires-2017',
$this->_('Inscrivez-vous aux journées communautaires Bokeh du 23 et 24 mars 2017'),
['target' => '_blank']),
['class' => 'bokeh-days'])
?>
<div class='ligne_info'>
<a onclick="window.open(this.href); return false" href="http://bokeh-library-portal.org"><?php echo $this->_('Site communautaire');?></a> -
<a onclick="window.open(this.href); return false" href="https://groups.google.com/group/utilisateurs-bokeh"><?php echo $this->_('Google group Bokeh');?></a> -
......
......@@ -1507,3 +1507,12 @@ div.ColorPickerDivSample {
.modules .breadcrumb .actions {
display: inline-block;
}
.modules .bokeh-days > a {
color: #0050C7;
font-size: 1.1em;
}
.modules .bokeh-days > a:hover {
color: #6AA5FF;
}
\ No newline at end of file
......@@ -853,3 +853,12 @@ form .droite {
display: block;
content: '';
}
.modules .bokeh-days > a {
color: #0050C7;
font-size: 1.1em;
}
.modules .bokeh-days > a:hover {
color: #6AA5FF;
}
\ No newline at end of file
......@@ -758,3 +758,12 @@ form .droite {
.modules .breadcrumb .actions {
display: inline-block;
}
.modules .bokeh-days > a {
color: #0050C7;
font-size: 1.1em;
}
.modules .bokeh-days > a:hover {
color: #6AA5FF;
}
\ No newline at end of file
......@@ -426,3 +426,29 @@ class Admin_IndexControllerAdminvarActionTest extends Admin_AbstractControllerTe
$this->assertXPathContentContains('//tr[@data-adminvar="NEWSLETTER_UNSUBSCRIBE_TEXT"]//td', 'Lien pour se ');
}
}
class Admin_IndexControllerBokehDaysTest extends Admin_AbstractControllerTestCase {
public function setUp() {
parent::setUp();
$this->dispatch('/admin/index', true);
}
/** @test */
public function dateShouldBeBefore23032017() {
$this->assertTrue('2017-03-23' > date('Y-m-d', time()));
}
/**
* @test
* @depends dateShouldBeBefore23032017
*/
public function shouldContainsLinkToCommunityDays() {
$this->assertXPath('//div//p/a[@href="http://bokeh-library-portal.org/journees-communautaires-2017"]');
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment