File diff c5c40a039ec4 → 683a733d3e9c
conntrackt/templatetags/conntrackt.py
Show inline comments
 
@@ -29,6 +29,8 @@ def html_link(text, view, *args, **kwarg
 

	
 
        title - Title for the HTML <a> element.
 

	
 
        get - Additional GET parameter that should be appended to the URL.
 

	
 
    """
 

	
 
    # We'll return a context for rendering with the template. Add the text right
 
@@ -42,7 +44,7 @@ def html_link(text, view, *args, **kwarg
 
    # Iterate over keyword arguments, and if we support them, just assign them
 
    # to the context as is. Raise an exception if a keyword is unsupported.
 
    for key, value in kwargs.items():
 
        if key in ("class", "title", "id"):
 
        if key in ("class", "title", "id", "get"):
 
            context[key] = value
 
        else:
 
            raise template.TemplateSyntaxError("Unknown argument for 'advhtml_link' tag: %r" % key )