timesheet export (#317)
* remove autocomplete for begin and end * fix minute display in timesheet-edit form * toolbar form label in separate row * added export action
This commit is contained in:
@@ -164,7 +164,7 @@ For more details check this [dashboard subscriber](../../src/EventSubscriber/Das
|
||||
|
||||
## Adding tabs to the "control sidebar"
|
||||
|
||||
We use twig globals to render the control sidebar tabs, so adding one is as easy as adding a new config entry:
|
||||
We use the AdminLTE bundle to render the control sidebar tabs, so adding another tab is as easy as adding a new config entry:
|
||||
|
||||
```yaml
|
||||
admin_lte:
|
||||
@@ -179,8 +179,8 @@ admin_lte:
|
||||
template: sidebar/home.html.twig
|
||||
```
|
||||
|
||||
You have to define the `icon` ([read more](theme.md)) to be used and either `controller` action or twig `template`.
|
||||
Both follow the default naming syntax and you can link your bundle here instead of the app controller or templates.
|
||||
You have to define the `icon` ([read more](theme.md)) to be used and then either `controller` action or twig `template`.
|
||||
Both follow the default naming syntax and you can link your bundle here instead of existing application controller or templates.
|
||||
You should NOT add them in `config/packages/kimai.yaml` but in your own bundle or the `local.yaml` [config](configurations.md),
|
||||
otherwise they might get lost during an update.
|
||||
|
||||
|
||||
@@ -61,33 +61,34 @@ with a pre-defined list of icon aliases to guarantee a consistent look.
|
||||
|
||||
The pre-defined icons aliases are:
|
||||
|
||||
- `user`
|
||||
- `customer`
|
||||
- `project`
|
||||
- `activity`
|
||||
- `admin`
|
||||
- `invoice`
|
||||
- `timesheet`
|
||||
- `calendar`
|
||||
- `customer`
|
||||
- `create`
|
||||
- `dashboard`
|
||||
- `logout`
|
||||
- `trash`
|
||||
- `delete`
|
||||
- `repeat`
|
||||
- `download`
|
||||
- `duration`
|
||||
- `edit`
|
||||
- `manual`
|
||||
- `filter`
|
||||
- `help`
|
||||
- `invoice`
|
||||
- `list`
|
||||
- `logout`
|
||||
- `manual`
|
||||
- `money`
|
||||
- `print`
|
||||
- `project`
|
||||
- `repeat`
|
||||
- `start`
|
||||
- `start-small`
|
||||
- `stop`
|
||||
- `stop-small`
|
||||
- `filter`
|
||||
- `create`
|
||||
- `list`
|
||||
- `print`
|
||||
- `timesheet`
|
||||
- `trash`
|
||||
- `user`
|
||||
- `visibility`
|
||||
- `calendar`
|
||||
- `money`
|
||||
- `duration`
|
||||
|
||||
Icon aliases can be used by applying the `icon` filter, e.g.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user