Skip to content
Snippets Groups Projects
Commit 51c96b04 authored by efalcy's avatar efalcy
Browse files

dev #62896 : move buttons on sito box

parent 3f7f3ac6
2 merge requests!2428Dev#62896 contractuel sanop miop evolution boite sitotheque,!2423Dev#62896 contractuel sanop miop evolution boite sitotheque
Pipeline #3010 passed with stage
in 23 minutes and 18 seconds
......@@ -23,8 +23,8 @@
class ZendAfi_View_Helper_RenderSito extends ZendAfi_View_Helper_BaseHelper {
public function renderSito($site) {
return $this->_renderLabelOf($site) . $site->getDescription()
. $this->view->tagEditSito($site);
return $this->_renderLabelOf($site) . $site->getDescription();
}
......@@ -34,7 +34,9 @@ class ZendAfi_View_Helper_RenderSito extends ZendAfi_View_Helper_BaseHelper {
$this->_renderImageOf($site) . $site->getTitre(),
['href' => $site->getUrl(),
'title' => $this->_('Aller sur le site %s',
$site->getTitre())]));
$site->getTitre())]).
$this->view->tagEditSito($site));
}
......
......@@ -38,7 +38,7 @@ class ZendAfi_View_Helper_TagEditSito extends ZendAfi_View_Helper_BaseHelper {
return '';
if (!$user->hasRightConfigSito())
return '';
return $this->_tag('div', $this->renderEdit($sito),
return $this->_tag('span', $this->renderEdit($sito),
['class' => 'edit_sito']);
}
......
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