1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

Add rss img into templates

This commit is contained in:
Hidden Z 2011-02-17 18:52:51 +00:00
parent cb2e5eec10
commit 70b7585e54
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,10 @@
{% extends "base.html" %}
{% block header %}
<h3>All active hosts in I2P
<a href={% url browse-rss %}><img src="/static/rss-grey-18.png" border="0" width="18" height="18" alt="rss"></a></h3>
{% endblock %}
{% block content %}
<table>
<tr><td>Host</td><td>Last seen</td><td>Date added</td><td>Description</td></tr>
@ -12,4 +17,5 @@
{% if is_paginated %}
{% load paginator %}{% paginator 3 %}
{% endif %}
{% endblock %}

View File

@ -1,5 +1,6 @@
{% extends "browse.html" %}
{% block header %}
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days</h3>
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days
<a href={% url latest-rss %}><img src="/static/rss-grey-18.png" border="0" width="18" height="18" alt="rss"></a></h3>
{% endblock %}