Commit a854df49 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction css notes (#50080)

parent 60579388
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ if ($this->isAllowed(Privileges::getResourceId(Privileges::PLAFONDS_DEROGATIONS_
if ($this->isAllowed(Privileges::getResourceId(Privileges::INTERVENANT_NOTE_VISUALISATION))) {
    $label = '<span class="glyphicon glyphicon-book"></span> Notes';
    if ($notificationNote > 0) {
        $label .= ' <span class="badge" style="background-color: #fc1010;font-size:10px;margin-bottom:5px;">' . $notificationNote . '</span>';
        $label .= ' <span class="badge" style="background-color: #fc1010;font-size:10px;">' . $notificationNote . '</span>';
    }
    $tabs[] = [
        'id'            => 'notes',
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class NoteSaisieForm extends AbstractForm

        $this->build();

        $this->setAttribute('class', 'note');
        
        $this->addSecurity();
        $this->addSubmit();

+10 −10
Original line number Diff line number Diff line
@@ -35,12 +35,12 @@ $this->headTitle()->append($title = "Notes sur l'intervenant");
        <?php foreach ($notes

                       as $note): ?>
            <tr class="note" data-id="<?= $note->getId() ?>">
            <tr data-id="<?= $note->getId() ?>">
                <td class="col-lg-2"><?= $note->getType()->getLibelle() ?></td>
                <td class="col-lg-4"><?= $note->getLibelle() ?></td>
                <td class="col-lg-5"><?= 'Par ' . $note->getHistoCreateur()->getDisplayName() . ' le ' . $note->getHistoCreation()->format(\Application\Constants::DATETIME_FORMAT) ?></td>
                <td class="col-lg-1">
                    <div class="btn-group">
                    <div>
                        <?php if ($this->isAllowed($note, \Intervenant\Assertion\NoteAssertion::PRIV_EDITER_NOTE)): ?>
                            <a class="ajax-modal" data-event="note-edition"
                               href="<?= $this->url('note/saisir', ['intervenant' => $intervenant->getId(), 'note' => $note->getId()]); ?>"><i
@@ -103,12 +103,12 @@ $this->headTitle()->append($title = "Notes sur l'intervenant");
    <body>
    <?php if (!empty($emails)): ?>
        <?php foreach ($emails as $email): ?>
            <tr class="note" data-id="<?= $email->getId() ?>">
            <tr data-id="<?= $email->getId() ?>">
                <td class="col-lg-2"><?= $email->getType()->getLibelle() ?></td>
                <td class="col-lg-4"><?= $email->getLibelle() ?></td>
                <td class="col-lg-5"><?= 'Par ' . $email->getHistoCreateur()->getDisplayName() . ' le ' . $email->getHistoCreation()->format(\Application\Constants::DATETIME_FORMAT) ?></td>
                <td class="col-lg-1">
                    <div class="btn-group">
                    <div>
                        <?php if ($this->isAllowed(Privileges::getResourceId(Privileges::INTERVENANT_NOTE_VISUALISATION))): ?>
                            <a class="ajax-modal" data-event="note-voir"
                               href="<?= $this->url('note/voir', ['intervenant' => $intervenant->getId(), 'note' => $email->getId()]); ?>"><i
@@ -164,7 +164,7 @@ $this->headTitle()->append($title = "Notes sur l'intervenant");
            </head>
            <body>
            <?php foreach ($values as $v): ?>
                <tr class="note" data-id="<?= $v['id'] ?>">
                <tr data-id="<?= $v['id'] ?>">
                    <td class="col-lg-6"><?= $v['label'] ?></td>
                    <td class="col-lg-3"><?= $v['histo_date']->format(\Application\Constants::DATETIME_FORMAT) ?></td>
                    <td class="col-lg-3"><?= $v['histo_user'] ?></td>