2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Added context variables for address (#5807)

* Corrected report mixin example

* Remove unused file

* Added context variables for company and address

* Repair link in file

* Repair link in file

* Repair link in file

* Removed blank
This commit is contained in:
Michael
2023-10-29 12:07:21 +01:00
committed by GitHub
parent 3c5e2a3541
commit 4cd4a84bac
3 changed files with 20 additions and 9 deletions

View File

@ -32,7 +32,7 @@ Rendering templated views is also supported. Templated HTML files should be plac
Placed here, the template can be called using the file name (ex: `render(request, 'test.html', context)`)
### Implementing a Page Base
Some plugins require a page with a navbar, sidebar, and content.
Some plugins require a page with a navbar, sidebar, and content.
This can be done within a templated HTML file. Extend the file "page_base.html". This can be done by placing the following line at the top of the file.
``` HTML
{% extends "page_base.html" %}
@ -60,4 +60,4 @@ The current page base can be found [here](https://github.com/inventree/InvenTree
{% endblock js_ready %}
```
```