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

@ -20,10 +20,10 @@
Herd: {{ herd.herd }}
{% if user.is_authenticated %}
<button class="btn favourite-button {% if favourited %}hide{% endif %}" data-url="{% url "favourite_herd" herd.herd %}">
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_herd" herd.herd %}">
Unwatch
<img src="{{ STATIC_URL}}/img/unwatch-icon.png" alt="Unwatch" >
</button>
{% endif %}