{# core/ui/templates/partials/mobile_cards_generic.html Generisches Mobile-Karten-Template – Fallback für list_wrapper_inner.html. Wird automatisch verwendet wenn {module}/partials/mobile_cards.html fehlt. Verfügbare Variablen (aus list_wrapper_inner.html geerbt): cfg – dict {item_id: item_dict} module – Modulname container_id – ID des Listen-Containers loading_id – ID des Lade-Indikators _ui_cols – deklarative Spalten (Col-Instanzen) oder [] _card_actions – Aktions-Buttons (aus modul.yaml card_actions) _item_url_prefix – URL-Präfix für Item-Links has_status – bool has_run_buttons – bool has_edit – bool has_delete – bool running – dict laufender Jobs Konvention für modulspezifische Karten: Lege {module}/partials/mobile_cards.html an. Dieses Template hat Zugriff auf dieselben Variablen und wird bevorzugt geladen. #} {% import 'partials/components/ui_macros.html' as ui %} {# Ghost-Aktions-Buttons (z.B. "Auf Updates prüfen") vor den Karten #} {%- set _ui_header = (module_obj(module) if module_obj is defined else none) %} {%- set _ui_header = _ui_header.ui_header if _ui_header else none %} {% if _ui_header and _ui_header.controls %} {%- set _ghost_ctrls = _ui_header.controls | selectattr('style', 'equalto', 'ghost') | list -%} {% if _ghost_ctrls %}