need to apply correct styles for new status handling too
parent
bf6cfb7cb2
commit
c8cb5937e8
|
@ -8,7 +8,7 @@
|
||||||
{% with work.last_campaign.status as status %}
|
{% with work.last_campaign.status as status %}
|
||||||
{% with work.last_campaign.deadline as deadline %}
|
{% with work.last_campaign.deadline as deadline %}
|
||||||
{% with work.id as workid %}
|
{% with work.id as workid %}
|
||||||
<div class="thewholebook listview tabs {% if first_ebook %}tabs-1{% else %}{% if status == 'SUCCESSFUL' or status == 'ACTIVE' %}tabs-2{% else %}tabs-3{% endif %}{% endif %}">
|
<div class="thewholebook listview tabs {% if first_ebook or status == 'SUCCESSFUL' %}tabs-1{% else %}{% if status == 'ACTIVE' %}tabs-2{% else %}tabs-3{% endif %}{% endif %}">
|
||||||
<div class="listview book-list">
|
<div class="listview book-list">
|
||||||
<div class="listview panelback side2">
|
<div class="listview panelback side2">
|
||||||
{% comment %} hover state of panel {% endcomment %}
|
{% comment %} hover state of panel {% endcomment %}
|
||||||
|
|
|
@ -340,7 +340,7 @@ there's no tab for seeing ALL my books, only the filters! huh.
|
||||||
{% if works_active %}
|
{% if works_active %}
|
||||||
{{ supporter }} is giving these books to you. <a href="/about/active/" class="hijax">Find out how.</a>
|
{{ supporter }} is giving these books to you. <a href="/about/active/" class="hijax">Find out how.</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ supporter }} isn't giving any books to the world right now. <a href="/about/active_empty" class="hijax">Find out how you can.</a>
|
{{ supporter }} isn't giving any new books to the world right now. <a href="/about/active_empty" class="hijax">Find out how you can.</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="tabs-3 anon_about">
|
<div class="tabs-3 anon_about">
|
||||||
|
|
Loading…
Reference in New Issue