/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "base.html" %} {% block sidebar %} {% if page=='apps' %} {% for file in dir('apps', 'app_(.+?).html') %} {% set app = docu('apps/app_'~file.name~'.html') %}

{{ app.title|e }}

{{ app.description }}
{% if app.info or app.link %}
{% endif %} {% if app.info %} {{ app.info }}
{% endif %} {% if app.link %} {{ app.link|e }}
{% endif %} {% if app.author or app.version %}
{% endif %} {% if app.author %} Author: {{ app.author }}
{% endif %}
File: {{ file.file }}
{% if app.version %}
Version: {{ app.version }}
{% endif %}
{% endfor %} {% endif %} {% endblock %} {% block content %}

Apps

{% for file in dir('apps', 'app_(.+?).html') %} {{ lib.app('app_'~file.name) }} {% endfor %} {% endblock %}