Skip to content
Snippets Groups Projects
Commit 94a140d2 authored by gloas's avatar gloas
Browse files

tableau des exemplaires: correction balise css mal orthographiée

parent 334c9ee8
Branches
Tags
No related merge requests found
......@@ -76,7 +76,7 @@ class ZendAfi_View_Helper_Notice_Exemplaires extends Zend_View_Helper_HtmlElemen
$html.='<td class="annexe" style="text-align:left">'.$ex["annexe"].'</td>';
}
if($preferences["section"]==1) $html.='<td class="section">'.Class_Codification::getInstance()->getLibelleFacette("S".$ex["section"]).'</td>';
if($preferences["emplacement"]==1) $html.='<td class="eplacement">'.Class_Codification::getInstance()->getLibelleFacette("E".$ex["emplacement"]).'</td>';
if($preferences["emplacement"]==1) $html.='<td class="emplacement">'.Class_Codification::getInstance()->getLibelleFacette("E".$ex["emplacement"]).'</td>';
if($preferences["grouper"]==0) $html.='<td class="grouper">'.$ex["count(*)"].' ex.</td>';
$html.='<td class="cote">'.$ex["cote"].(isset($ex["edition"]) && ($ex["edition"]!='') ? '<span>'.$ex["edition"].'</span>' : '').'</td>';
if($preferences["dispo"]==1) {
......
......@@ -159,6 +159,12 @@ extends NoticeHtmlGetExemplairesWithOneExemplaireAndWebServiceTestCase {
}
/** @test **/
public function emplacementShoudBe2() {
$this->assertXPathContentContains($this->html,'//td[@class="emplacement"]','8',$this->html);
}
/** @test */
public function reservationLinkShouldBePopup() {
$this->assertXPath($this->html,
......
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