Finish up UI

- CSS
- Popup sizing & formatting
- diff resize when popup resizes
This commit is contained in:
nathangray
2019-02-28 15:15:26 -07:00
parent d4f614e3af
commit b7934f699c
4 changed files with 23 additions and 6 deletions

View File

@ -18,7 +18,6 @@ use EGroupware\Api;
// explicitly reference classes still in phpgwapi or otherwise outside api
use notifications;
use Text_Diff_Renderer_unified;
/**
* Abstract base class for trackering:
@ -463,8 +462,8 @@ abstract class Tracking
strpos($data[$name], PHP_EOL) !== FALSE || strpos($old[$name], PHP_EOL) !== FALSE))
{
// Multiline string, just store diff
$diff = new \Text_Diff('auto', array(explode("\n",$old[$name]), explode("\n",$data[$name])));
$renderer = new \Text_Diff_Renderer_unified();
$diff = new \Horde_Text_Diff('auto', array(explode("\n",$old[$name]), explode("\n",$data[$name])));
$renderer = new \Horde_Text_Diff_Renderer_Unified();
$this->historylog->add(
$status,
$data[$this->id_field],