tardis.tardis_portal.templatetags package

Submodules

tardis.tardis_portal.templatetags.basiccomparisonfilters module

tardis.tardis_portal.templatetags.basiccomparisonfilters.gt(value, arg)

Returns a boolean of whether the value is greater than the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.gte(value, arg)

Returns a boolean of whether the value is greater than or equal to the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.length_gt(value, arg)

Returns a boolean of whether the value’s length is greater than the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.length_gte(value, arg)

Returns a boolean of whether the value’s length is greater than or equal to the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.length_lt(value, arg)

Returns a boolean of whether the value’s length is less than the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.length_lte(value, arg)

Returns a boolean of whether the value’s length is less than or equal to the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.lt(value, arg)

Returns a boolean of whether the value is less than the argument.

tardis.tardis_portal.templatetags.basiccomparisonfilters.lte(value, arg)

Returns a boolean of whether the value is less than or equal to the argument.

tardis.tardis_portal.templatetags.bleach_tag module

tardis.tardis_portal.templatetags.bleach_tag.bleach_value(value)

tardis.tardis_portal.templatetags.capture module

class tardis.tardis_portal.templatetags.capture.CaptureNode(nodelist, varname)

Bases: django.template.base.Node

render(context)
tardis.tardis_portal.templatetags.capture.capture(parser, token)

{% capture as [foo] %}

tardis.tardis_portal.templatetags.dataset_tags module

tardis.tardis_portal.templatetags.dynurl module

class tardis.tardis_portal.templatetags.dynurl.DynUrlNode(*args)

Bases: django.template.base.Node

render(context)
tardis.tardis_portal.templatetags.dynurl.dynurl(parser, token)

tardis.tardis_portal.templatetags.experiment_tags module

tardis.tardis_portal.templatetags.experimentstats module

tardis.tardis_portal.templatetags.experimentstats.experiment_file_count(value)

tardis.tardis_portal.templatetags.facility_tags module

tardis.tardis_portal.templatetags.facility_tags.check_if_facility_manager(request)

Custom template filter to identify whether a user is a facility manager.

tardis.tardis_portal.templatetags.feed module

tardis.tardis_portal.templatetags.feed.todatetime(value)

tardis.tardis_portal.templatetags.formfieldfilters module

This module holds filters that can be used in postprocessing a form field.

@author: Gerson Galang

tardis.tardis_portal.templatetags.formfieldfilters.parametername_form(value)

Removes all values of arg from the given string

tardis.tardis_portal.templatetags.formfieldfilters.sanitize_html(html, bad_tags=['body'])

Removes identified malicious HTML content from the given string.

tardis.tardis_portal.templatetags.formfieldfilters.size(value, actualSize)

Add the size attribute to the text field.

tardis.tardis_portal.templatetags.lookupfilters module

tardis.tardis_portal.templatetags.lookupfilters.get_item(dictionary, key)

Returns a value from a dictionary.

tardis.tardis_portal.templatetags.uploadify_tags module

tardis.tardis_portal.templatetags.uploadify_tags.multi_file_upload(context, upload_complete_url, dataset_id)

Displays a Flash-based interface for uploading multiple files. When all files have been uploaded, the given URL is POSTed to. The returned page replaces (AJAX) the upload interface.

  • filesUploaded - The total number of files uploaded
  • errors - The total number of errors while uploading
  • allBytesLoaded - The total number of bytes uploaded
  • speed - The average speed of all uploaded files

tardis.tardis_portal.templatetags.xmldate module

tardis.tardis_portal.templatetags.xmldate.toxmldatetime(value)

Module contents