{% extends "app_manager/app_install_base.html" %} {% load bootstrap_tags staticfiles %} {% load i18n %} {% block title %} {{ block.super }} - {% trans "Applications" %} {% endblock %} {% block body_class %}appinstances appinstances-list explore{% endblock %} {% block head %} {% include "geonode/ext_header.html" %} {% include "geonode/app_header.html" %} {{ block.super }} {% endblock %} {% block body %}
{% if app.description %} {{ app.description|slice:":70" }} {% if app.description|length >= 70 %} More {% endif %} {% else %} No Description Provided {% endif %}
{% if app.single_instance %} Open {% else %} Explore {{ app.appinstance_set.all.count }} {% if not user.is_authenticated or not request.user.is_staff %} Create New {% endif %} {% endif %} {% if app.anonymous_urls %} {% for key, values in app.anonymous_urls.iteritems %} {% url key as the_url %} {% if the_url %} {{ values }} {% 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 %} {{ values }} {% 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 %} {{ values }} {% endif %} {% endfor %} {% endif %}