Skip to content
Snippets Groups Projects
Commit 61ef0ee7 authored by llaffont's avatar llaffont
Browse files

Finitions responsive home + correction js global

parent 60e00ad2
No related merge requests found
<?php
if ($this->profil->hasHeaderImg())
if ($this->profil->hasHeaderImg()
&& 'index' == Zend_Controller_Front::getInstance()->getRequest()->getControllerName())
echo sprintf('<img src="%s" style="width:100%%" alt="%s">',
$this->profil->getHeaderImg(),
$this->_('Bannière'));
......
//-----------------------------------------------------------
// Faire disparaitre le toolbar iphone
//-----------------------------------------------------------
$(document).ready(function(){
$(document).bind('pageinit', function(){
setTimeout(function(){
window.scrollTo(0, 1);
}, 100);
......
......@@ -305,6 +305,14 @@ div.bk-widget div.b-counter {
height: 40px;
}
.boite_accueil {
margin-top: 10px;
}
.img-titre {
margin: 0 -10px -15px 0;
}
@media only screen and (max-width : 320px) {
.boite_accueil {
......
......@@ -266,13 +266,13 @@ class IndexControllerTelephoneSimulationWithModulesTest extends AbstractIndexCon
/** @test */
function titreBoiteBibNumeriqueShouldBeMesAlbums() {
$this->assertXPathContentContains('//div[@class="bib_numerique"]//div[@class="titre"]', 'Mes albums');
$this->assertXPathContentContains('//div[contains(@class, "bib_numerique")]//div[@class="titre"]//h2', 'Mes albums');
}
/** @test */
public function boiteCalendrierShouldBeVisible() {
$this->assertXPathContentContains('//div[@class="calendar"]//h2', 'Agenda', $this->_response->getBody());
$this->assertXPathContentContains('//div[contains(@class, "calendar")]//h2', 'Agenda', $this->_response->getBody());
}
......
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