diff options
author | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
commit | efb623af0bcb47d510501c282e1326b11343a29c (patch) | |
tree | 3a35fb19f5eba3b219c65277a5fb712cbe9604ac /app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html | |
parent | 0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff) |
site reorg
Diffstat (limited to 'app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html')
-rw-r--r-- | app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html new file mode 100644 index 0000000..0b7bb9e --- /dev/null +++ b/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html @@ -0,0 +1,26 @@ +{% extends "admin_tools/dashboard/module.html" %} +{% load i18n %} +{% block module_content %} +{% if subindex %} + <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}"> + <h3>{% trans 'Recent Actions' %}</h2> + <div class="module"> + <h4>{% trans 'My Actions' %}</h3> +{% else %} + <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}"> + <h2>{% trans 'Recent Actions' %}</h2> + <div class="module"> + <h3>{% trans 'My Actions' %}</h3> +{% endif %} + {% if module.children %} + <ul> + {% for entry in module.children %} + <li class="{% if entry.is_addition %}add-link{% endif %}{% if entry.is_change %}change-link{% endif %}{% if entry.is_deletion %}delete-link{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li> + {% endfor %} + </ul> + {% else %} + <p>{% trans 'None Available' %}</p> + {% endif %} + </div> +</div> +{% endblock %} |