icingaweb2-module-businessp.../application/views/scripts/editlink.phtml
2014-11-30 12:14:11 +01:00

9 lines
541 B
PHTML

<?php if ($this->bp->isEditMode()): ?>
<?php if ($this->bp->hasBeenChanged()): ?>
<a href="<?= $this->url()->without('edit') ?>" title="<?= $this->escape('Store modifications') ?>"><?= $this->icon('ok') ?></a>
<?php endif ?>
<a href="<?= $this->url()->without('edit') ?>" title="<?= $this->escape('Dismiss modifications') ?>"><?= $this->icon('cancel') ?></a>
<?php else: ?>
<a href="<?= $this->url()->with('edit', true) ?>" title="<?= $this->escape('Modify this process') ?>"><?= $this->icon('wrench') ?></a>
<?php endif ?>