Module: version_history#
Children#
Description#
This module provides the functionality to load the full version history (for privileged users) and export it to tsv.
Function: retrieve_history#
Retrieve the version history of an entity and return a table with the history.
- retrieve_history(entity)#
- Arguments:
entity (
string) – the entity id with or without version id.
- Return HTMLElement:
A table with the version history.
Function: get_history_tsv#
Transform the HTML table with the version history to tsv.
- get_history_tsv(history_table)#
- Arguments:
history_table (
HTMLElement) – the HTML representation of the version history.
- Return string:
the version history as downloadable tsv string, suitable for the href attribute of a link or window.location.
Function: proceed_callback#
- proceed_callback()#
Function: cancel_callback#
- cancel_callback()#
Function: init#
- init()#
Member: version_history:
Member: entity:
Member: title:
Member: message:
Member: proceed_text:
Member: remember_my_decision_id: