[icinga-checkins] icinga.org: icingaweb2/bugfix/ module-description-cannot-be-on-a-single-line-12557: Display a module' s title in /config/module/...

git at icinga.org git at icinga.org
Tue Aug 30 09:10:07 CEST 2016


Module: icingaweb2
Branch: bugfix/module-description-cannot-be-on-a-single-line-12557
Commit: 9e93792c8f564cdeef5e80dbd41669f1173da535
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=9e93792c8f564cdeef5e80dbd41669f1173da535

Author: Alexander A. Klimov <alexander.klimov at netways.de>
Date:   Tue Aug 30 09:08:24 2016 +0200

Display a module's title in /config/module/...

refs #12557

---

 application/views/scripts/config/module.phtml |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/views/scripts/config/module.phtml b/application/views/scripts/config/module.phtml
index 798b179..e07907b 100644
--- a/application/views/scripts/config/module.phtml
+++ b/application/views/scripts/config/module.phtml
@@ -40,7 +40,9 @@
       <td><?= $this->escape($module->getVersion()) ?></td></tr>
     <tr>
       <th><?= $this->escape($this->translate('Description')) ?></th>
-      <td><?= nl2br($this->escape($module->getDescription())) ?></td>
+      <td><strong><?= $this->escape($module->getTitle()) ?></strong><br><?=
+        nl2br($this->escape($module->getDescription()))
+      ?></td>
     </tr>
     <tr>
       <th><?= $this->escape($this->translate('Dependencies')) ?></th>



More information about the icinga-checkins mailing list