From 036c5661ecb2f74ca6a68ae0a22b4c9961af5825 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 30 Apr 2021 23:40:52 +0200 Subject: [PATCH] Link for credits in UI and README Closes #1533 --- InvenTree/part/templatetags/inventree_extras.py | 6 ++++++ InvenTree/templates/about.html | 5 +++++ README.md | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/InvenTree/part/templatetags/inventree_extras.py b/InvenTree/part/templatetags/inventree_extras.py index a92d95c766..536f25cb5b 100644 --- a/InvenTree/part/templatetags/inventree_extras.py +++ b/InvenTree/part/templatetags/inventree_extras.py @@ -116,6 +116,12 @@ def inventree_docs_url(*args, **kwargs): return "https://inventree.readthedocs.io/" +@register.simple_tag() +def inventree_credits_url(*args, **kwargs): + """ Return URL for InvenTree credits site """ + return "https://inventree.readthedocs.io/en/latest/credits/" + + @register.simple_tag() def setting_object(key, *args, **kwargs): """ diff --git a/InvenTree/templates/about.html b/InvenTree/templates/about.html index 15ff588576..b1fb5ccd07 100644 --- a/InvenTree/templates/about.html +++ b/InvenTree/templates/about.html @@ -58,6 +58,11 @@ {% trans "View Code on GitHub" %} {% inventree_github_url %} + + + {% trans "Credits" %} + {% inventree_credits_url %} + {% trans "Mobile App" %} diff --git a/README.md b/README.md index 6a665e9654..5f25960b9a 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,10 @@ To contribute to the translation effort, navigate to the [InvenTree crowdin proj For InvenTree documentation, refer to the [InvenTree documentation website](https://inventree.readthedocs.io/en/latest/). +# Credits + +The credits for all used packages are part of the [InvenTree documentation website](https://inventree.readthedocs.io/en/latest/credits/). + ## Getting Started Refer to the [getting started guide](https://inventree.readthedocs.io/en/latest/start/install/) for installation and setup instructions.