beat.web.dataformats.templatetags.dataformat_tags module¶
Composes a dataformat list table
This panel primarily exists for user’s dataformat list page.
- Parameters
objects (iterable) – An iterable containing DataFormat objects
owner (bool) – A flag indicating if the list is being created for the owner of his personal list page on the user-microsite or not.
id – The HTML id to set on the generated table. This is handy for the filter functionality normally available on list pages.
Composes the action buttons for a particular dataformat
This panel primarily exists for showing action buttons for a given dataformat taking into consideration it is being displayed for a given user.
- Parameters
object (DataFormat) – The dataformat object concerned for which the buttons will be drawn.
display_count (bool) – If the set of buttons should include one with the number of experiments using this dataformat.
Composes the current sharing properties and a form to change them
- Parameters
object (DataFormat) – The dataformat object concerned for which the buttons will be drawn.
Calculates the visible usage for a given dataformat and requestor
Calculates the visible usage for a given dataformat and requestor
Calculates the visible usage for a given dataformat and requestor
Calculates the visible usage for a given dataformat and requestor