{% extends "repomaker/base_modal.html" %} {% load i18n %} {% load static %} {% load compress %} {% block title %}{% trans 'Browse Gallery' %}{% endblock %} {% block toolbar %}
{% block back-button %} arrow_back {% endblock back-button %} {% trans 'Browse Gallery' %}
{% endblock toolbar %} {% block rm-content %}

{% blocktrans with count=categories.count trimmed %} Category ({{ count}}) {% endblocktrans %} {% if category %} {{ category.name }} clear {% else %} {% trans 'All' %}
{% for c in categories %} {% endfor %}
{% endif %}
{% blocktrans with count=remote_repos.count trimmed %} Source ({{ count}}) {% endblocktrans %} {% if remote_repo %} {{ remote_repo.name }} clear {% else %} {% trans 'All' %}

{% for r in remote_repos %} {% endfor %}
{% endif %}
{% if category or remote_repo %} {% endif %}
{% if remote_repo %}

{{ remote_repo.name }}

{{ remote_repo.description }}


{% endif %} {% csrf_token %} {% for app in apps %} {% url 'add_remote_app' repo.id app.repo.id app.id app.language_code as url %} {% trans 'Add' as action_title %} {% include "repomaker/widgets/app_with_action.html" with url=url width=12 action_title=action_title %} {% empty %}
{% if request.GET.search %} {% blocktrans with search_term=request.GET.search trimmed %} No apps found that match '{{ search_term }}'. Please try a different search or remove other filter criteria. {% endblocktrans %} {% elif not category %} {% if remote_repo %} {% trans 'There are no apps in this repo.' %} {% else %} {% trans 'There are no apps available in the repos.' %} {% endif %} {% trans 'If you just added a repo, wait for the apps to download and try again later.' %} {% elif remote_repo %} {% trans 'This repo has no apps in the selected category. Try clearing it or select a different repo.' %} {% else %} {% trans 'There are no apps available in the selected category. Try clearing it.' %} {% endif %}
{% endfor %}
{% include "repomaker/widgets/pagination.html" %} {% compress js file endless-app-scroll %} {% endcompress %}
{% compress js file add %} {% endcompress %} {% endblock rm-content %}