{% extends 'projectroles/project_base.html' %} {# Projectroles dependency #} {% load projectroles_common_tags %} {# Access Django rules #} {% load rules %} {% block title %} Example App Page Title {% endblock title %} {% block head_extend %} {# OPTIONAL: extra content under goes here #} {% endblock head_extend %} {% block css %} {{ block.super }} {# OPTIONAL: Extend or override CSS here #} {% endblock css %} {% block projectroles_extend %} {# Content of your app goes here #} {# Page subtitle example #} {# Using the example CSS classes is recommended #}

Example Project App

{# Page content example #} {# Using the example CSS classes is recommended #}
This is an example and the entry point for example_project_app. {% get_display_name 'PROJECT' title=True %} "{{ project.title }}" was found in the page context! Yay!
{# Backend API usage example, see related view #} {% if backend_data %}
Data retrieved from example backend app plugin: {{ backend_data }}
{% endif %} {# Backend css or javacript includes #} {% get_backend_include 'example_backend_app' 'css' as backend_css %} {% if backend_css %}
CSS of example backend app plugin included here: {{ backend_css|safe }}
{% endif %} {% get_backend_include 'example_backend_app' 'js' as backend_js %} {% if backend_js %}
Javascript of example backend app plugin included here: {{ backend_js|safe}}
{% endif %}
{% endblock projectroles_extend %} {% block javascript %} {{ block.super }} {# OPTIONAL: include additional Javascript here #} {% endblock javascript %}