{# Saved views bar, drawn above a resource table. vars: items (ViewItem list), active, all_active, all_url, all_match, can_share, default, full, resource (slug), replace_url, redirect_url, csrf_token, action(*parts) -> url #} {% import "tungsten/components/ui.html" as ui %} {% set chip = 'inline-flex shrink-0 items-center gap-1.5 rounded-lg px-3 py-1.5 text-sm font-medium ring-1 transition' %} {% set chip_on = 'bg-white text-primary-600 ring-primary-500 dark:bg-white/5 dark:text-primary-400' %} {% set chip_off = 'bg-white text-gray-600 ring-gray-950/10 hover:text-gray-950 dark:bg-white/5 dark:text-gray-300 dark:ring-white/10 dark:hover:text-white' %} {% if redirect_url %}{% endif %}
{{ __('A ready view from the app.') }}
{% else %}{{ __('Shared by a teammate.') }}
{% endif %} {% endif %} {% endcall %}