mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-02 14:34:31 +02:00
Added buttons for revert and undo to the log detail page
This commit is contained in:
parent
b62fd602f2
commit
49b6a42791
5 changed files with 111 additions and 1 deletions
|
@ -71,6 +71,8 @@ final class EntityExtension extends AbstractExtension
|
|||
new TwigFunction('entity_type', [$this, 'getEntityType']),
|
||||
/* Returns the URL to the given entity */
|
||||
new TwigFunction('entity_url', [$this, 'generateEntityURL']),
|
||||
/* Returns the URL to the given entity in timetravel mode */
|
||||
new TwigFunction('timetravel_url', [$this->entityURLGenerator, 'timetravelURL']),
|
||||
/* Generates a JSON array of the given tree */
|
||||
new TwigFunction('tree_data', [$this, 'treeData']),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue