Package omeroweb :: Package webclient :: Package templatetags :: Module webclient_tags
[hide private]
[frames] | no frames]

Module webclient_tags

source code

Functions [hide private]
 
get_static_webclient_prefix(parser, token)
Populates a template variable with the static prefix, ``settings.WEBCLIENT_STATIC_URL``.
source code
Variables [hide private]
  register = template.Library()
  logger = logging.getLogger(__name__)

Imports: datetime, traceback, logging, settings, template, PrefixNode


Function Details [hide private]

get_static_webclient_prefix(parser, token)

source code 

Populates a template variable with the static prefix, ``settings.WEBCLIENT_STATIC_URL``.

Usage:

   {% get_static_webclient_prefix [as varname] %}

Examples:

   {% get_static_webclient_prefix %}
   {% get_static_webclient_prefix as STATIC_WEBCLIENT_PREFIX %}
Decorators:
  • @register.tag()