aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 17:40:52 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 17:40:52 +0100
commit5d5a0bb5decafcb7a98dce53a28d323ed3957622 (patch)
tree7568c9e2db8afcd5e22ee29dafc6faf687632217
parentUpdated templates. (diff)
downloadnewspipe-5d5a0bb5decafcb7a98dce53a28d323ed3957622.tar.gz
newspipe-5d5a0bb5decafcb7a98dce53a28d323ed3957622.tar.bz2
newspipe-5d5a0bb5decafcb7a98dce53a28d323ed3957622.zip
Minor improvements to the templates.
-rw-r--r--pyaggr3g470r/templates/article.html4
-rw-r--r--pyaggr3g470r/templates/feed.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 05738a5f..c05cac5e 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -2,12 +2,12 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove"></i></a>
<h2><a href="{{ article.link }}">{{ article.title }}</a></h2>
+ <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove" title="Delete this article"></i></a>
<h6>{{ article.date }}</h6>
</div>
<div class="jumbotron">
- {{ article.content|safe }}
+ {{ article.content|safe }}
</div>
</div><!-- /.container -->
{% endblock %}
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html
index dc152d33..d89b11cf 100644
--- a/pyaggr3g470r/templates/feed.html
+++ b/pyaggr3g470r/templates/feed.html
@@ -2,8 +2,8 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <h1>{{ feed.title }}</h1>
- <a href="/delete_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-remove"></i></a>
+ <h2>{{ feed.title }}</h2>
+ <a href="/delete_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-remove" title="Delete this feed"></i></a>
<p>This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.id }}">articles</a>.</p>
<p>Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a>.</p>
<p>Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a>.</p>
bgstack15