mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Add link to documentation
This commit is contained in:
parent
55ebf48684
commit
a9d1cadc12
@ -46,6 +46,12 @@ def inventree_commit(*args, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
@register.simple_tag()
|
@register.simple_tag()
|
||||||
def inventree_github(*args, **kwargs):
|
def inventree_github_url(*args, **kwargs):
|
||||||
""" Return URL for InvenTree github site """
|
""" Return URL for InvenTree github site """
|
||||||
return "https://github.com/InvenTree"
|
return "https://github.com/InvenTree"
|
||||||
|
|
||||||
|
|
||||||
|
@register.simple_tag()
|
||||||
|
def inventree_docs_url(*args, **kwargs):
|
||||||
|
""" Return URL for InvenTree documenation site """
|
||||||
|
return "https://inventree.github.io"
|
||||||
|
@ -26,7 +26,11 @@
|
|||||||
<td colspan="2"></td>
|
<td colspan="2"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>View Code on GitHub</td><td><a href="{% inventree_github %}">{% inventree_github %}</a></td>
|
<td>InvenTree Documenation</td>
|
||||||
|
<td><a href="{% inventree_docs_url %}">{% inventree_docs_url %}</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>View Code on GitHub</td><td><a href="{% inventree_github_url %}">{% inventree_github_url %}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user