Add list of domains
This commit is contained in:
parent
05d7da1f59
commit
062c80c413
5 changed files with 78 additions and 2 deletions
15
templates/domain.html
Normal file
15
templates/domain.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h2>{{ domain.url }}</h2>
|
||||
<p>This domain was added to the database on {{ domain.created_at|date }}.</p>
|
||||
<p>Feeds for this domain:</p>
|
||||
<ul>
|
||||
{% for feed in feeds %}
|
||||
<li>
|
||||
<a href="/feed/{{ feed.id }}">{{ feed.feed_url }}</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>Found no feeds for this domain.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue