tardis.tardis_portal.templatetags package¶
Submodules¶
tardis.tardis_portal.templatetags.approved_user_tags module¶
Custom template filter to identify whether a user account is approved.
tardis.tardis_portal.templatetags.basiccomparisonfilters module¶
Returns a boolean of whether the value is greater than the argument.
Returns a boolean of whether the value is greater than or equal to the argument.
Returns a boolean of whether the value’s length is greater than the argument.
Returns a boolean of whether the value’s length is greater than or equal to the argument.
Returns a boolean of whether the value’s length is less than the argument.
Returns a boolean of whether the value’s length is less than or equal to the argument.
Returns a boolean of whether the value is less than the argument.
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.capture module¶
Bases:
django.template.base.Node
Return the node rendered as a string.
{% capture as [foo] %}
tardis.tardis_portal.templatetags.dataset_tags module¶
Displays an badge with the number of datafiles for this experiment
Displays an badge with the number of datasets for this experiment
Displays an badge with the total size of the files in this experiment
tardis.tardis_portal.templatetags.dynurl module¶
Bases:
django.template.base.Node
Return the node rendered as a string.
tardis.tardis_portal.templatetags.experiment_tags module¶
Displays an experiment’s authors in an experiment list view
Displays badges for an experiment for displaying in an experiment list view
Displays an experiment for a browsing view.
Displays an badge with the number of datafiles for this experiment
Displays an badge with the number of datasets for this experiment
Displays a download link for an experiment in a list view
Displays an badge the level of public access for this experiment
Displays an badge with the total size of the files in this experiment
tardis.tardis_portal.templatetags.experimentstats module¶
tardis.tardis_portal.templatetags.facility_tags module¶
Custom template filter to identify whether a user is a facility manager.
tardis.tardis_portal.templatetags.feed module¶
tardis.tardis_portal.templatetags.formfieldfilters module¶
This module holds filters that can be used in postprocessing a form field.
@author: Gerson Galang
Removes all values of arg from the given string
Removes identified malicious HTML content from the given string.
Add the size attribute to the text field.
tardis.tardis_portal.templatetags.lookupfilters module¶
Returns a value from a dictionary.
tardis.tardis_portal.templatetags.pagination module¶
Generates the series of links to the pages in a paginated list.
Generates an individual page index link in a paginated list.