{% extends "app_manager/app_install_base.html" %} {% load bootstrap_tags staticfiles cartoview_tags %} {% load i18n %} {% block title %} {{ block.super }} - {% trans "Applications" %} {% endblock %} {% block body_class %}appinstances appinstances-list explore{% endblock %} {% block head %} {{ block.super }} {% endblock %} {% block body %}
{% for app in Apps %} {% if app.config.active and app.name != "cartoview_attachment_manager" %}

{{ app.title }}

{% if app.description %} {% with truncated_desc=app.description|truncatewords:9 %} {{ truncated_desc }} {% if app.description|length > truncated_desc|length %} More {% endif %} {% endwith %} {% else %} No Description Provided {% endif %}

{% if app.single_instance %} {% else %} {% if not user.is_authenticated or not request.user.is_staff %} {% endif %} {% endif %} {% if app.anonymous_urls %} {% for key, values in app.anonymous_urls.iteritems %} {% url key as the_url %} {% if the_url %}   {% endif %} {% endfor %} {% endif %} {% if user.user.is_authenticated and app.logged_in_urls %} {% for key, values in app.logged_in_urls.iteritems %} {% url key as the_url %} {% if the_url %}   {% endif %} {% endfor %} {% endif %} {% if user.is_staff and app.admin_urls %} {% for key, values in app.admin_urls.iteritems %} {% url key as the_url %} {% if the_url %}   {% endif %} {% endfor %} {% endif %}
{% endif %} {% empty %}

No Apps Installed

{% endfor %}
{% endblock %} {% block extra_script %} {% endblock %}