No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

show_class_admin.html 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--
  2. This file is part of Lodel 2 (https://github.com/OpenEdition)
  3. Copyright (C) 2015-2017 Cléo UMS-3287
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published
  6. by the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. {% extends "base_backend.html" %}
  16. {% block title %}Lodel 2 - Admin - Class {{ target.__name__ }} {% endblock %}
  17. {% block body %}
  18. <ol class="breadcrumb">
  19. <li><a href="/{{ root_url }}/admin">Home</a></li>
  20. <li><a href="/{{ root_url }}/admin/classes_admin">Edition</a></li>
  21. <li class="active">{{target.__name__ }}</li>
  22. </ol>
  23. <h1 class="h1_lodel">Edition - {{target.__name__ }} </h1>
  24. {% if not target.is_abstract() %}
  25. {% set objects = target.get(None) %}
  26. <ul>
  27. {% for obj in objects %}
  28. <li><a href="/{{ root_url }}/admin/update?classname={{ target.__name__ }}&lodel_id={{ obj.uid() }}" >{{ obj.uid() }} </a></li>
  29. {% endfor %}
  30. </ul>
  31. {% endif %}
  32. {% endblock %}