From 8da75f190ce13428db965f3849a509841d22e3f2 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Fri, 23 Jun 2023 21:01:48 -0700 Subject: [PATCH] Add marker for sources in channels --- intake/templates/home.jinja2 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/intake/templates/home.jinja2 b/intake/templates/home.jinja2 index 8f12fec..000b836 100644 --- a/intake/templates/home.jinja2 +++ b/intake/templates/home.jinja2 @@ -59,7 +59,15 @@ summary:focus {

No sources found.

{% else %} {% for source in sources %} -

{{ source.source_name|safe }} (edit)

+

+{%- for channel, srcs in channels|items -%} +{%- if source.source_name in srcs -%} +^ +{%- endif -%} +{%- endfor -%} +{{ source.source_name|safe }} +(edit) +

{% endfor %} {% endif %} @@ -70,19 +78,15 @@ summary:focus { Add item

-{# #}

-{# #}

-{# #}

-{# #}