From f1cfa62fbd53230313fee6c4262f35ccfa881f3d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 25 Jul 2011 09:42:39 +0200 Subject: Complete the general panel for dashboard (closes #520) --- ishtar/templates/dashboard_main.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'ishtar/templates/dashboard_main.html') diff --git a/ishtar/templates/dashboard_main.html b/ishtar/templates/dashboard_main.html index ae243f7c2..e710dbe16 100644 --- a/ishtar/templates/dashboard_main.html +++ b/ishtar/templates/dashboard_main.html @@ -41,7 +41,42 @@
  • {% trans "Mode:" %} {{dashboard.operation_mode}}
  • {% endif %} +

    {% trans "Created last" %}

    +
    + + + {% for item in dashboard.lasts %} + + + + {% endfor %} +
    {{lbl}}{% trans "Created" %}
    {{item}}{{item.history_date}}{% if item.get_show_url %}{%trans "Show"%}{%endif%}
    +
    +

    {% trans "Recent changes" %}

    +
    + + + {% for item in dashboard.recents %} + + + + {% endfor %} +
    {{lbl}}{% trans "Modified" %}
    {{item}}{{item.history_date}}{% if item.get_show_url %}{%trans "Show"%}{%endif%}
    +
    {% endfor%} +
    +

    {% trans "Users" %}

    +
    + + + {% for user_type in ishtar_users.types %} + + + + + {% endfor%} +
    {% trans "User type" %}{% trans "Number" %}
    {{user_type.person__person_type__label}}{{user_type.number}}
    +
    {% endblock %} -- cgit v1.2.3