mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Model render refactor (#5894)
* Embiggen search drawer * Refactor search drawer queries: - Use proper permission checks * Actually check user settings * Move StatusRenderer * Update renderers - Improve in-line render for different order types * Update stockitem renderere * Remove old renderer functions * Better data handling in UserState * Tweaks for settings pages * "Fix" scanning page - Rendering is a bit broken currently, as the barcode scan does not send back the model data * "Fix" scanning page - Rendering is a bit broken currently, as the barcode scan does not send back the model data - Required refactoring enumerations out into separate files - Some strange race condition / import loop was happening * Fix incorrect imports * Fixing hover card - Use unique key * fixes * Fix urls.md * More udpates * Fix unused import
This commit is contained in:
@ -18,6 +18,7 @@ class MyUrlsPlugin(UrlsMixin, InvenTreePlugin):
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
The URLs get exposed under `/plugin/{plugin.slug}/*` and get exposed to the template engine with the prefix `plugin:{plugin.slug}:` (for usage with the [url tag](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#url)).
|
||||
|
||||
!!! info "Note"
|
||||
@ -117,4 +118,4 @@ Example:
|
||||
onPanelLoad('loans', function() {
|
||||
...
|
||||
});;
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user