Commit 63b4bba7 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Blocage de la taille minimal de l'etat pour bloquer le retour à la ligne

parent 0320e839
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for src/UnicaenEtat/View/Helper/partial/etat-instance.phtml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ $displayUser = (isset($options['display-user']) AND $options['display-user'] ===
$type = $instance->getType();
?>

<?php if ($displayDate OR $displayUser) : ?>
<div class="row">
    <div class="col-md-3">
        <?php if ($type) : ?>
@@ -38,3 +39,6 @@ $type = $instance->getType();
        </small>
    </div>
</div>
<?php else : ?>
    <?php echo $this->etattype($type); ?>
<?php endif; ?>
+1 −1
Changes for src/UnicaenEtat/View/Helper/partial/etat-type.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ $categorie_icone = ($type AND $type->getCategorie())?$type->getCategorie()->getI
$categorie_libelle = ($type AND $type->getCategorie())?$type->getCategorie()->getLibelle():null;
?>

<div style="display: inline-block;">
<div style="display: inline-block;min-width: 6rem;">
    <div class="etat-leftpart" title="<?php echo str_replace("'", "", $type_libelle); ?>" style="background: <?php echo $type_couleur; ?>;">
        <span class="<?php echo ($type_icone)?:"fa fa-question-circle"; ?>" aria-hidden="true"></span>
    </div>