euscanwww: Icons for watching and refreshing, a user can refresh only once

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-20 17:10:12 +02:00
parent c6f2baa0e6
commit 10cb482294
13 changed files with 247 additions and 19 deletions

View File

@ -22,10 +22,10 @@
Maintainer: {{ maintainer.name }} &lt{{ maintainer.email }}&gt
{% if user.is_authenticated %}
<button class="btn favourite-button {% if favourited %}hide{% endif %}" data-url="{% url "favourite_maintainer" maintainer.id %}">
Watch
<img src="{{ STATIC_URL}}/img/watch-icon.png" alt="Watch" >
</button>
<button class="btn unfavourite-button {% if not favourited %}hide{% endif %}" data-url="{% url "unfavourite_maintainer" maintainer.id %}">
Unwatch
<img src="{{ STATIC_URL}}/img/unwatch-icon.png" alt="Unwatch" >
</button>
{% endif %}
</h2>