{% extends 'common/_data_table.html' %} {% load i18n %} {% load custom_filters %} {% block title %}{% trans "Components" %}{% endblock %} {% block table_caption %} {% with apps=table.get_apps_list %} {% if table.actions_allowed %} {% comment %} Note(efedorova): We are comparing to the string, since get_apps_list functions returns json.dumps, which is used in js later. So to prevent extra transformations comparing to the string is used to check for app absence. {% endcomment %} {% if apps != '[]' %}
{% with repo_url=table.get_repo_url pkg_def_url=table.get_pkg_def_url %}
{% trans "There are no applications in the catalog. You can import apps from" %}
{{ repo_url }}.
{% blocktrans trimmed %}Go to
Packages
, click 'Import Package' and select Repository as Package Source.
{% endblocktrans %}
{% endwith %}
{% trans "There are no applications matching your criteria." %}
{% endif %} {% endwith %}