beat.web.dataformats.templatetags.dataformat_tags module

beat.web.dataformats.templatetags.dataformat_tags.dataformat_table(context, objects, owner, id)[source]

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.

beat.web.dataformats.templatetags.dataformat_tags.dataformat_actions(context, object, display_count)[source]

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.

beat.web.dataformats.templatetags.dataformat_tags.dataformat_sharing(context, object)[source]

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.

beat.web.dataformats.templatetags.dataformat_tags.dataformat_editor(context, obj)[source]
beat.web.dataformats.templatetags.dataformat_tags.visible_referrer_dataformats(context, obj)[source]

Calculates the visible usage for a given dataformat and requestor

beat.web.dataformats.templatetags.dataformat_tags.visible_referrer_algorithms(context, obj)[source]

Calculates the visible usage for a given dataformat and requestor

beat.web.dataformats.templatetags.dataformat_tags.visible_referrer_databases(context, obj)[source]

Calculates the visible usage for a given dataformat and requestor

beat.web.dataformats.templatetags.dataformat_tags.visible_referrers_count(context, obj)[source]

Calculates the visible usage for a given dataformat and requestor