[icinga-checkins] icinga.org: icingaweb2-module-director/master: show/activitylog: add more details

git at icinga.org git at icinga.org
Tue Feb 23 03:15:21 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 7315cc0d1b91ea03baf4d56c569b2ad2b7690e48
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=7315cc0d1b91ea03baf4d56c569b2ad2b7690e48

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Feb 23 00:36:18 2016 +0100

show/activitylog: add more details

---

 application/views/scripts/show/activitylog.phtml |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/application/views/scripts/show/activitylog.phtml b/application/views/scripts/show/activitylog.phtml
index 4a5ca45..730cb4d 100644
--- a/application/views/scripts/show/activitylog.phtml
+++ b/application/views/scripts/show/activitylog.phtml
@@ -37,7 +37,19 @@ $url = $this->url()->without('checksum')->without('show');
     <th><?= $this->translate('Date') ?></th>
     <td><?= $this->entry->change_time ?></td>
   </tr>
+  <tr>
+    <th><?= $this->translate('Action') ?></th>
+    <td><?= sprintf(
+        '%s %s "%s"',
+        $this->entry->action_name,
+        $this->entry->object_type,
+        $this->entry->object_name
+    )
+    ?></td>
+  </tr>
 </table>
+<?php if (! empty($this->output)): ?>
 <h1><?= $this->escape($this->title) ?></h1>
 <?= $this->output ?>
+<?php endif ?>
 </div>



More information about the icinga-checkins mailing list