{# @description A list row that offers its actions once: by swipe on a touch screen and from a menu, a dropdown with a mouse and a sheet on a touch screen. Without actions it is a plain list row. Write each action as an mvp.list.row.action in the actions slot. #} {# @prop id:text | description:"Required when the row has actions. It names the row's sheet." #} {# @prop label:text | description:"The row's name: the sheet's title and the control's accessible name." #} {# @prop lead:text | description:"The line under the sheet's title." #} {# @prop face_class:text | description:"Classes of the face, the part that holds the content." #} {# @prop class:text | description:"Extra classes added to the row." #} {# @slot Quarterly report — The row's content. #} {# @slot:actions — The row's actions, as mvp.list.row.action components. Leave empty for a plain row. #} {% load i18n mvp %} {% if actions.strip %}
{{ slot }}
{{ actions|single_main_action:id }}
{% else %} {% if id %} {{ slot }} {% else %} {{ slot }} {% endif %} {% endif %}