Open ionics opened 4 years ago
It is possible to fix by updating to user/actions.html.twig in the templates
as yehudahkay statet: just replace in file: /kimai2/var/plugins/ReadOnlyAccessBundle/Resources/views/showCustomerTimes.html.twig -{% import "macros/actions.html.twig" as actions %} +{% import "user/actions.html.twig" as actions %}
seems file has moved... lets keep this BUG open until project owner can update the issue.
See #4 . Actually the macro is not used, can be removed.
Here's a pull request:https://github.com/fungus75/ReadOnlyAccessBundle/pull/5
I think it should be {% import "activity/actions.html.twig" as actions %}
, but it is not required and {% import "macros/toolbar.html.twig" as toolbar %}
can be removed too in index.html.twig
and showCustomerTimes.twig.html
.
Created another PR, @fungus75 please merge this!
Hi @stephankellermayr , just merged your PR. Guess this issue is fixed by now?
actions.html.twig got removed in kimai2
request.CRITICAL: Uncaught PHP Exception Twig\Error\LoaderError: "Unable to find template "macros/actions.html.twig"