{% from 'global_macros.html' import preload_circle %} {% macro AppAnchor(app, classes=None, override=None) %} {% if override == 'iframe' or app.open_in == 'iframe' and override == None %} {% elif override == 'this_tab' or app.open_in == 'this_tab' and override == None %} {% elif override == 'new_tab' or app.open_in == "new_tab" and override == None %} {% endif %} {% endmacro %} {% macro App(app) %} {{ AppAnchor(app) }} {% if app.data_sources.count() > 0 %} {% for data_source in app.data_sources %} {% endfor %} {% else %} {% endif %} {{ app.name }} more_vert {% if app.data_sources.count() > 0 %} refresh {% endif %} {{ app.name }}close {% if app.description %} {{ app.description|safe }} {% endif %} {% endmacro %} {% macro Collection(app) %} {% if app.icon %} {{app.icon}} {% endif %} {{ app.name }} {% for url in app.urls_json %} {% if url['icon'] %} {% endif %} {% if url['open_in'] == 'this_tab' %} {% else %} {% endif %} {{ url['name'] }} {% endfor %} {% endmacro %} {% macro Custom(app) %} {{ app.name }} {% for data_source in app.data_sources %} {% endfor %} {% endmacro %}
{{ app.description|safe }}