From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../templates/admin_doc/model_detail.html | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 app/lib/grappelli/templates/admin_doc/model_detail.html (limited to 'app/lib/grappelli/templates/admin_doc/model_detail.html') diff --git a/app/lib/grappelli/templates/admin_doc/model_detail.html b/app/lib/grappelli/templates/admin_doc/model_detail.html new file mode 100644 index 0000000..85593f0 --- /dev/null +++ b/app/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-70-g09d2