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:
@ -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 %}
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user