diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-25 09:42:39 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-25 09:42:39 +0200 |
| commit | f1cfa62fbd53230313fee6c4262f35ccfa881f3d (patch) | |
| tree | 9c6ac9dbd23b678f820e6c85b85e410785fe5ec9 /ishtar/templates/dashboard_main.html | |
| parent | 48db6c74f82de04dd714accf4030f005ba791143 (diff) | |
| download | Ishtar-f1cfa62fbd53230313fee6c4262f35ccfa881f3d.tar.bz2 Ishtar-f1cfa62fbd53230313fee6c4262f35ccfa881f3d.zip | |
Complete the general panel for dashboard (closes #520)
Diffstat (limited to 'ishtar/templates/dashboard_main.html')
| -rw-r--r-- | ishtar/templates/dashboard_main.html | 35 |
1 files changed, 35 insertions, 0 deletions
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 @@ <li><strong>{% trans "Mode:" %}</strong> {{dashboard.operation_mode}}</li> </ul> {% endif %} + <h4>{% trans "Created last" %}</h4> + <div class='table'> + <table> + <tr><th>{{lbl}}</th><th>{% trans "Created" %}</th><th></th></tr> + {% for item in dashboard.lasts %}<tr> + <td class='ref'>{{item}}</td> + <td>{{item.history_date}}</td> + <td>{% if item.get_show_url %}<a href="#" onclick='load_window("{{item.get_show_url}}")'>{%trans "Show"%}</a>{%endif%}</td> + </tr>{% endfor %} + </table> + </div> + <h4>{% trans "Recent changes" %}</h4> + <div class='table'> + <table> + <tr><th>{{lbl}}</th><th>{% trans "Modified" %}</th><th></th></tr> + {% for item in dashboard.recents %}<tr> + <td class='ref'>{{item}}</td> + <td>{{item.history_date}}</td> + <td>{% if item.get_show_url %}<a href="#" onclick='load_window("{{item.get_show_url}}")'>{%trans "Show"%}</a>{%endif%}</td> + </tr>{% endfor %} + </table> + </div> </div> {% endfor%} + <div> + <h3>{% trans "Users" %}</h3> + <div class='table'> + <table> + <tr><th>{% trans "User type" %}</th><th>{% trans "Number" %}</th></tr> + {% for user_type in ishtar_users.types %} + <tr> + <td class='string'>{{user_type.person__person_type__label}}</td> + <td>{{user_type.number}}</td> + </tr> + {% endfor%} + </table> + </div> </div> {% endblock %} |
