fix repeated Fave button

pull/1/head
eric 2014-04-10 15:52:25 -04:00
parent 9d2067c7a5
commit 325dff59f2
2 changed files with 5 additions and 6 deletions

View File

@ -181,13 +181,12 @@
<div class="unglued_white">
{% if first_ebook %}
<b>AVAILABLE!</b>
<div class="add_button">
{% include "book_panel_addbutton.html" %}
</div>
{% else %}
<p>No campaign yet.</p><br /><p>But if lots of ungluers fave this book, maybe there will be!</p>
{% endif %}
<div class="add_button">
{% include "book_panel_addbutton.html" %}
</div>
</div>
</div>
<div class="white_text bottom_button">

View File

@ -24,7 +24,7 @@
{% else %}
{% comment %} on the empty-wishlist slideshow {% endcomment %}
<div class="moreinfo add-wishlist">
<span class="work_id" id="p{{ workid }}">Add&nbsp;to&nbsp;My&nbsp;Faves</span>
<span class="work_id" id="p{{ workid }}">Add&nbsp;to&nbsp;Faves</span>
</div>
{% endif %}
{% else %}{% if work in wishlist %}
@ -34,9 +34,9 @@
{% else %}
<div class="moreinfo add-wishlist">
{% if on_search_page %}
<span class="gb_id" id="p{{ googlebooks_id }}">Add&nbsp;to&nbsp;My&nbsp;Faves</span>
<span class="gb_id" id="p{{ googlebooks_id }}">Add&nbsp;to&nbsp;Faves</span>
{% else %}
<span class="work_id" id="p{{ workid }}">Add&nbsp;to&nbsp;My&nbsp;Faves</span>
<span class="work_id" id="p{{ workid }}">Add&nbsp;to&nbsp;Faves</span>
{% endif %}
</div>
{% endif %}{% endifequal %}{% endif %}{% endif %}