New page for browsing data
svn: r18335
This commit is contained in:
parent
f00b6374a0
commit
ae5e389bd7
30
src/data/templates/browse_page.html
Normal file
30
src/data/templates/browse_page.html
Normal 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> </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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user