source: subversion/sites/other/tilesAtHome_tahngo/templates/requests_show_uploads.html @ 9467

Revision 9467, 1.4 KB checked in by spaetz, 6 years ago (diff)

enable single user view in all kinds of pages

Line 
1{% extends "base_requests.html" %}
2{% block title %}t@h Show Uploads{% endblock %}
3{% block breadcrumb %}{{ block.super }} <a href="{% url tah.requests.views.show_uploads_page %}">&raquo;Show uploads</a> {% endblock %}
4
5{% block heading %}t@h Uploads{% endblock %}
6{% block content %}
7<h3>30 most recent uploads</h3>
8<table border="1" align="center">
9  <tr><td>x,y</td><td>zoom</td><td>Priority</td><td>Requested since</td><td>Uploaded</td><td>Renderer</td></tr>
10  {% for req in reqs_list %}
11  <tr><td><a href="{% url tah.browse.views.index %}?layer=tile&z={{ req.min_z }}&x={{ req.x }}&y={{ req.y }}">{{ req.x }},{{ req.y }}</a></td><td>{{ req.min_z }}-{{ req.max_z }}</td><td>{{ req.priority }}</td><td>{{ req.request_time|timesince }}</td><td>{{ req.clientping_time|timesince }}</td><td><a href="{% url single_user_byid req.client.pk %}">{{req.client}}</a></td></tr>
12  {% endfor %}
13</table>
14<div style="text-align:center">{% if is_paginated %}Page {{ page }} of {{ pages }} ({% if has_previous %}<a href="{% url tah.requests.views.show_requests 1 %}">First</a> {%ifnotequal previous "1" %}... {%endifnotequal%}<a href="{% url tah.requests.views.show_requests previous %}">{{previous}}</a> {%endif%}{{page}}  {% if has_next %}<a href="{% url tah.requests.views.show_requests next %}">{{next}}</a> {% ifnotequal next pages %}... {%endifnotequal%}<a href="{% url tah.requests.views.show_requests pages %}">Last</a>{%endif%}){% endif %}</div>
15
16{% endblock %}
Note: See TracBrowser for help on using the repository browser.