{# @description One item in the mobile dock: a drawer toggle, a link, or an inert button. #} {# @prop active:boolean | description:"Marks the item as the current page." #} {# @prop icon:text | description:"Icon name." #} {# @prop label:text | description:"Item label, shown under the icon." #} {# @prop href:text | description:"Link target; renders an anchor when given and toggle is not." #} {# @prop toggle:text | description:"id of the drawer checkbox this item flips; renders a label when given." #} {# @prop class:text | description:"Extra classes on the root element." #} {% load i18n %} {% if toggle %} {% elif href %} {% if icon %}{% endif %} {% if label %}{{ label }}{% endif %} {% else %} {% endif %}