2ff1eb21d98ffd6bccdcc8ff3899306d59017893
[wolnelektury.git] / src / stats / templates / stats / top.html
1 {% extends 'base/base.html' %}
2
3
4 {% block body %}
5   <div class="white-box">
6     {{ form.as_p }}
7     <hr>
8
9     <table>
10       <tr>
11         <th>Książka</th>
12         <th>Unikalne odsłony</th>
13         <th>Odsłony</th>
14       </tr>
15       {% for v in visits %}
16         <tr>
17           <td>
18             <a href="/katalog/lektura/{{ v.book__slug }}/">
19               {{ v.book__slug }}
20             </a>
21           </td>
22           <td>
23             {{ v.unique_views }}
24           </td>
25           <td>
26             {{ v.views }}
27           </td>
28         </tr>
29       {% endfor %}
30     </table>
31   </div>
32 {% endblock %}