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 --- lib/grappelli/templates/admin/object_history.html | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lib/grappelli/templates/admin/object_history.html (limited to 'lib/grappelli/templates/admin/object_history.html') diff --git a/lib/grappelli/templates/admin/object_history.html b/lib/grappelli/templates/admin/object_history.html new file mode 100644 index 0000000..1058fc9 --- /dev/null +++ b/lib/grappelli/templates/admin/object_history.html @@ -0,0 +1,51 @@ +{% extends "admin/base_site.html" %} + + +{% load i18n %} + + +{% block breadcrumbs %} + +{% endblock %} + + +{% block content %} +
+
+ {% if action_list %} + + + + + + + + + + {% for action in action_list %} + + + + + + {% endfor %} + +
{% trans 'Date/time' %}{% trans 'User' %}{% trans 'Action' %}
{{ action.action_time|date:_("DATETIME_FORMAT") }}{{ action.user.username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %} + {% ifequal forloop.counter 1 %} + {% trans "Created object" %} + {% else %} + {{ action.change_message }} + {% endifequal %} +
+ {% else %} +

{% trans "This object doesn't have a change history. It probably wasn't added via this admin site." %}

+ {% endif %} +
+
+{% endblock %} -- cgit v1.2.3