diff --git a/VERSIONS_STABLE/hotline#20588_suggestions b/VERSIONS_STABLE/hotline#20588_suggestions new file mode 100644 index 0000000000000000000000000000000000000000..e5e5df630f7181e6a3d0bcc92e7acb82c143f9ac --- /dev/null +++ b/VERSIONS_STABLE/hotline#20588_suggestions @@ -0,0 +1 @@ +Ticket 20588: Correction des problèmes d'affichage dans la liste des suggestions. diff --git a/library/ZendAfi/View/Helper/SuggestionAchat.php b/library/ZendAfi/View/Helper/SuggestionAchat.php index 7d6f90abaacfb4c3d8c8091255f471566df0438e..d108b284cbe609b13ff3b6e6a18eab1b30a0c195 100644 --- a/library/ZendAfi/View/Helper/SuggestionAchat.php +++ b/library/ZendAfi/View/Helper/SuggestionAchat.php @@ -16,15 +16,15 @@ * * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE * along with BOKEH; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ class ZendAfi_View_Helper_SuggestionAchat extends ZendAfi_View_Helper_BaseHelper { - + public function suggestionAchat($suggestion_achat) { - $html = '<dl>'; + $html = '<br /><dl>'; $attributes = [$this->view->_('Date de création') => $suggestion_achat->getDateCreation(), $this->view->_('Type de document') => $suggestion_achat->getDocumentType(), $this->view->_('Titre') => $suggestion_achat->getTitre(), @@ -34,11 +34,11 @@ class ZendAfi_View_Helper_SuggestionAchat extends ZendAfi_View_Helper_BaseHelper $this->view->_('Commentaire') => $suggestion_achat->getCommentaire()]; foreach($attributes as $libelle => $value) { - $html.= + $html.= '<dt>'.$libelle.'</dt>'. '<dd>'.$value.'</dd>'; } - + return $html.= '</dl>'; } diff --git a/public/opac/css/global.css b/public/opac/css/global.css index 37f0c91f172bda4e10c50e42de7e0b535ee825d6..18e385023957b4aba9fdea59513219a21ff8390a 100644 --- a/public/opac/css/global.css +++ b/public/opac/css/global.css @@ -2461,17 +2461,13 @@ div.suggestion-achat-liste span { } div.suggestion-achat-liste div { - display: block; - min-height:180px; - border-top: 2px solid grey ; - margin: 5px; - padding:5px; + clear:both; } div.suggestion-achat-liste dl { padding:5px; - line-height:25px; - font-size:1.2em; + line-height:20px; + border-top: 2px solid grey; } div.suggestion-achat-liste dt { @@ -2479,7 +2475,7 @@ div.suggestion-achat-liste dt { clear:left; font-weight:bold; text-align:right; - width: 125px; + width: 200px; padding-right:0px; padding-left:30px; }