New page for browsing data

svn: r18335
This commit is contained in:
Doug Blank 2011-10-16 17:05:35 +00:00
parent f00b6374a0
commit ae5e389bd7

View File

@ -0,0 +1,30 @@
{% extends "gramps-base.html" %}
{% load my_tags %}
{% block title %}Gramps-Connect{% endblock %}
{% block heading %}Gramps-Connect{% endblock %}
{% block content %}
<p> &nbsp; </p>
<p id="description">
Database information:</p>
<table class="infolist surname">
<tr>
<th>Item</th>
<th>Count</th>
</tr>
{% for view in views %}
<tr class="{% cycle odd,even %}">
{% if view.2 %}
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
<td align="left"><a href="/{{view.1}}">{{view.2.objects.count|format_number}}</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% endblock %}