{{!-- TODO: For items list: only show header, if list is not empty --}} {{!-- ======================================================================== --}} {{!-- INLINE PARTIAL DEFINITIONS --}} {{!-- ======================================================================== --}} {{!-- !-- Render an "add" button for a given data type. !-- !-- @param datType: hand over the dataType to the partial as hash parameter --}} {{#*inline "addButton"}}
{{/inline}} {{!-- !-- Render a group of an "edit" and a "delete" button for the current item. !-- The current item is defined by the data-item-id HTML property of the parent li element. --}} {{#*inline "itemControlButtons"}} {{/inline}} {{!-- !-- Render a header row for a given data type. !-- It is a flexbox with a child for each column head. !-- An "equipped" heading is rendered except for the case dataType==='equipment'. !-- The partial assumes a variable dataType to be given in the context. !-- If the partial is called with a partial block, the partial block !-- content is inserted before the description heading. !-- @param datType: hand over the dataType to the partial as hash parameter !-- @param partial-block: hand over custom children of the flexbox in the partial block. --}} {{#*inline "listHeader" }}