fix repeated Fave button
parent
9d2067c7a5
commit
325dff59f2
|
@ -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">
|
||||
|
|
|
@ -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 to My Faves</span>
|
||||
<span class="work_id" id="p{{ workid }}">Add to 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 to My Faves</span>
|
||||
<span class="gb_id" id="p{{ googlebooks_id }}">Add to Faves</span>
|
||||
{% else %}
|
||||
<span class="work_id" id="p{{ workid }}">Add to My Faves</span>
|
||||
<span class="work_id" id="p{{ workid }}">Add to Faves</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}{% endifequal %}{% endif %}{% endif %}
|
||||
|
|
Loading…
Reference in New Issue