[icinga-checkins] icinga.org: icingaweb2/master: Fix whitespaces in event-history

git at icinga.org git at icinga.org
Thu Feb 25 11:35:22 CET 2016


Module: icingaweb2
Branch: master
Commit: 43a7ed357a1e1df58b633a98fc065b53c9347476
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=43a7ed357a1e1df58b633a98fc065b53c9347476

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Thu Feb 25 11:34:23 2016 +0100

Fix whitespaces in event-history

overview-plugin-output now has white-space: pre-wrap

---

 .../views/scripts/partials/event-history.phtml            |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/modules/monitoring/application/views/scripts/partials/event-history.phtml b/modules/monitoring/application/views/scripts/partials/event-history.phtml
index 7a0cee2..33e34ec 100644
--- a/modules/monitoring/application/views/scripts/partials/event-history.phtml
+++ b/modules/monitoring/application/views/scripts/partials/event-history.phtml
@@ -143,14 +143,11 @@ $history->limit($limit * $page);
                         ) ?>
                     <?php endif ?>
                 <?php endif ?>
-                <p class="overview-plugin-output">
-                    <?php if ($icon) {
-                        echo $this->icon($icon, null, $iconCssClass ? array('class' => $iconCssClass) : array());
-                    } ?>
-                    <?= $this->nl2br($this->createTicketLinks($this->escapeComment($msg)))
-                    // TODO(ak): this allows only a[href] in messages, but plugin output allows more
-                    ?>
-                </p>
+                <p class="overview-plugin-output"><?php if ($icon) {
+                    echo $this->icon($icon, null, $iconCssClass ? array('class' => $iconCssClass) : array());
+                } ?><?= $this->nl2br($this->createTicketLinks($this->escapeComment($msg)))
+                // TODO(ak): this allows only a[href] in messages, but plugin output allows more
+                ?></p>
             </td>
         </tr>
         <?php endforeach ?>



More information about the icinga-checkins mailing list