fix missing template tag (#9000)

This commit is contained in:
Lukas 2025-01-31 22:27:27 +01:00 committed by GitHub
parent ce16dac102
commit 66496fb669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -117,6 +117,12 @@ def inventree_commit_hash(*args, **kwargs):
return version.inventreeCommitHash()
@register.simple_tag()
def inventree_installer(*args, **kwargs):
"""Return InvenTree package installer string."""
return version.inventreeInstaller()
@register.simple_tag()
def inventree_commit_date(*args, **kwargs):
"""Return InvenTree git commit date string."""