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

hotline #26961 : fix cursor position on item localization map

parent 5b0d9906
Branches
Tags
2 merge requests!1058Stable,!1049Hotline#26961 localization plan
- ticket #26961 : correction du décalage du pointeur de localisation des documents sur le plan des exemplaires
\ No newline at end of file
...@@ -120,28 +120,12 @@ class ZendAfi_View_Helper_Notice_Exemplaires extends ZendAfi_View_Helper_BaseHel ...@@ -120,28 +120,12 @@ class ZendAfi_View_Helper_Notice_Exemplaires extends ZendAfi_View_Helper_BaseHel
} }
public function renderLocalizationMap() {
return
$this->_tag('div', '',
['id' => 'plan_localisation', 'style' => 'display:none'])
. $this->_tag('div', $this->view->tagImg('',
['alt' => $this->_('Localisation')]),
['id' => 'point_localisation',
'style' => 'position:absolute;z-index:10000;display:none;cursor:pointer'])
. $this->_tag('div', '',
['id' => 'bulle_localisation', 'style' => 'display:none']);
}
public function render($exemplaires, $preferences, $nb_notices_oeuvre, $aff) { public function render($exemplaires, $preferences, $nb_notices_oeuvre, $aff) {
return return
$this->_fonctionsAdmin() $this->_fonctionsAdmin()
. $this->renderExemplairesTable($exemplaires, $preferences, $aff) . $this->renderExemplairesTable($exemplaires, $preferences, $aff)
. $this->renderSameWorkLink($nb_notices_oeuvre, . $this->renderSameWorkLink($nb_notices_oeuvre,
array_values($exemplaires)[0]['id_notice']) array_values($exemplaires)[0]['id_notice']);
. $this->renderLocalizationMap();
} }
......
This diff is collapsed.
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