1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!--
- This file is part of Lodel 2 (https://github.com/OpenEdition)
-
- Copyright (C) 2015-2017 Cléo UMS-3287
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- -->
-
-
- {% extends "base_backend.html" %}
- {% block title %}Lodel 2 - Admin - List of Classes{% endblock %}
- {% block body %}
- <ol class="breadcrumb">
- <li><a href="/{{ root_url }}/admin">Home</a></li>
- <li class="active">Edit</li>
- </ol>
- <h1 class="h1_lodel">Edition</h1>
- <h2>Select a class</h2>
- <ul>
- {% for classe in my_classes %}
- {% set abst = ' - Abstract' %}
- {% if not classe.is_abstract() %}
- {% set abst = ' - ' ~ classe.get(None)|length %}
- <li> <a href="/{{ root_url }}/admin/class_admin?classname={{ classe.__name__ }}" >{{ classe.__name__ }} </a>{{ abst }}</li>
- {% else %}
- <li> {{ classe.__name__ }} {{ abst }}</li>
- {% endif %}
- {% endfor %}
- </ul>
- <div>
- <a href="../admin/">Return</a>
- </div>
- {% endblock %}
|