mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Merge remote-tracking branch 'optimize_details_html/only-render-cc-with-data' into Develop
This commit is contained in:
commit
09e966e18a
@ -205,8 +205,8 @@
|
|||||||
|
|
||||||
|
|
||||||
{% for c in cc %}
|
{% for c in cc %}
|
||||||
<div class="real_custom_columns">
|
|
||||||
{% if entry['custom_column_' ~ c.id]|length > 0 %}
|
{% if entry['custom_column_' ~ c.id]|length > 0 %}
|
||||||
|
<div class="real_custom_columns">
|
||||||
{{ c.name }}:
|
{{ c.name }}:
|
||||||
{% for column in entry['custom_column_' ~ c.id] %}
|
{% for column in entry['custom_column_' ~ c.id] %}
|
||||||
{% if c.datatype == 'rating' %}
|
{% if c.datatype == 'rating' %}
|
||||||
@ -235,8 +235,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not current_user.is_anonymous %}
|
{% if not current_user.is_anonymous %}
|
||||||
|
Loading…
Reference in New Issue
Block a user