mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
show/activitylog: use diff for modifications
This commit is contained in:
parent
9db67721e1
commit
41d262cc3a
@ -5,13 +5,12 @@
|
|||||||
) ?></h2>
|
) ?></h2>
|
||||||
|
|
||||||
<table class="log-properties">
|
<table class="log-properties">
|
||||||
<!-- TODO: diff, old/new class -->
|
|
||||||
<tr><td style="vertical-align: top; width: 50%">
|
<tr><td style="vertical-align: top; width: 50%">
|
||||||
<h3><?= $this->translate('Former state') ?></h3>
|
<h3><?= $this->translate('Former state') ?></h3>
|
||||||
<pre><?= $this->escape((string) $this->oldObject) ?></pre>
|
<span class="diff old"><?= $this->diff ?></pre>
|
||||||
</td><td style="vertical-align: top; width: 50%">
|
</td><td style="vertical-align: top; width: 50%">
|
||||||
<h3><?= $this->translate('New object') ?></h3>
|
<h3><?= $this->translate('New object') ?></h3>
|
||||||
<pre><?= $this->escape((string) $this->newObject) ?></pre>
|
<span class="diff new"><?= $this->diff ?></pre>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user