diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index ad909877..a92f585b 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -51,7 +51,7 @@ {% include "helpdesk/debug.html" %} diff --git a/helpdesk/templatetags/svn_revision.py b/helpdesk/templatetags/svn_revision.py deleted file mode 100644 index 2af5308b..00000000 --- a/helpdesk/templatetags/svn_revision.py +++ /dev/null @@ -1,16 +0,0 @@ -from django import template -from django.utils.version import get_svn_revision -import helpdesk - -def svn_revision(parser, token): - path = helpdesk.__path__[0] - return SVNRevisionNode(path) - -class SVNRevisionNode(template.Node): - def __init__(self, path): - self.path = path - def render(self, context): - return get_svn_revision(self.path) - -register = template.Library() -register.tag('helpdesk_svn_revision', svn_revision)