From c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 23 Oct 2010 19:46:20 -0400 Subject: added grappelli, filebrowser, chunks and tagging to lcal repo --- .../templates/admin_doc/model_detail.html | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lib/grappelli/templates/admin_doc/model_detail.html (limited to 'lib/grappelli/templates/admin_doc/model_detail.html') diff --git a/lib/grappelli/templates/admin_doc/model_detail.html b/lib/grappelli/templates/admin_doc/model_detail.html new file mode 100644 index 0000000..85593f0 --- /dev/null +++ b/lib/grappelli/templates/admin_doc/model_detail.html @@ -0,0 +1,51 @@ +{% extends "admin/base_site.html" %} +{% load adminmedia %} +{% load i18n %} +{% block javascripts %} + {{ block.super }} + +{% endblock %} +{% block bodyclass %}documentation{% endblock %} +{% block content-class %}content-grid{% endblock %} +{% block breadcrumbs %}{% endblock %} + +{% block title %}Model: {{ name }}{% endblock %} + +{% block content %} +

{{ summary }}

+
+ {% if description %} +

{% filter linebreaksbr %}{% trans description %}{% endfilter %}

+ {% endif %} +
+ + + + + + + + + + {% for field in fields|dictsort:"name" %} + + + + + + {% endfor %} + +
FieldTypeDescription
{{ field.name }}{{ field.data_type }}{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}
+
+ ‹ Back to Models Documentation +
+{% endblock %} -- cgit v1.2.3