aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-29 20:38:38 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-29 20:38:38 +0200
commitacefecc0e78ff5469442054f62f9c5926b8f72a6 (patch)
tree9cea9c1cd802602b8d58a5c4c11f9a055e891772
parentRemoved a bad character. (diff)
downloadnewspipe-acefecc0e78ff5469442054f62f9c5926b8f72a6.tar.gz
newspipe-acefecc0e78ff5469442054f62f9c5926b8f72a6.tar.bz2
newspipe-acefecc0e78ff5469442054f62f9c5926b8f72a6.zip
Fixed some problems with href tags.
-rw-r--r--pyaggr3g470r/templates/article.html16
-rw-r--r--pyaggr3g470r/templates/home.html12
2 files changed, 11 insertions, 17 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 02f373b6..004dce01 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -9,17 +9,15 @@
<h2><a href="{{ article.link }}">{{ article.title|safe }}</a></h2>
<h3>{{ _('from') }} <a href="/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3>
<a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this article') }}"></i></a>
- <a href="#">
- {% if article.like %}
- <i class="glyphicon glyphicon-star like" title="{{ _('One of your favorites') }}"></i>
- {% else %}
- <i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i>
- {% endif %}
- </a>
+ {% if article.like %}
+ <a href="#"><i class="glyphicon glyphicon-star like" title="{{ _('One of your favorites') }}"></i></a>
+ {% else %}
+ <a href="#"><i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i></a>
+ {% endif %}
{% if article.readed %}
- <a href="/mark_as/unread/article/{{ article.id }}"><i class="glyphicon glyphicon-unchecked" title="{{ _('Mark this article as unread') }}"></i></a>
+ <a href="#"><i class="glyphicon glyphicon-unchecked readed" title="{{ _('Mark this article as unread') }}"></i></a>
{% else %}
- <a href="/mark_as/read/article/{{ article.id }}"><i class="glyphicon glyphicon-check" title="{{ _('Mark this article as read') }}"></i></a>
+ <a href="#"><i class="glyphicon glyphicon-check readed" title="{{ _('Mark this article as read') }}"></i></a>
{% endif %}
<h6>{{ article.date | datetime }}</h6>
</div>
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 40ed1168..14599771 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -99,20 +99,16 @@
<td class="date">{{ article.date|datetime }}</a></td>
<td>
<a href="#"><i class="glyphicon glyphicon-remove delete" title="{{ _('Delete this article') }}"></i></a>
- <a href="#">
{% if article.like %}
- <i class="glyphicon glyphicon-star like" title="{{ _('One of your favorites') }}"></i>
+ <a href="#"><i class="glyphicon glyphicon-star like" title="{{ _('One of your favorites') }}"></i></a>
{% else %}
- <i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i>
+ <a href="#"><i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i></a>
{% endif %}
- </a>
- <a href="#">
{% if article.readed %}
- <i class="glyphicon glyphicon-unchecked readed" title="{{ _('Mark this article as unread') }}"></i>
+ <a href="#"><i class="glyphicon glyphicon-unchecked readed" title="{{ _('Mark this article as unread') }}"></i></a>
{% else %}
- <i class="glyphicon glyphicon-check readed" title="{{ _('Mark this article as read') }}"></i>
+ <a href="#"><i class="glyphicon glyphicon-check readed" title="{{ _('Mark this article as read') }}"></i></a>
{% endif %}
- </a>
</td>
</tr>
{% endfor %}
bgstack15