Skip to content

Commit

Permalink
only add overlay div if table overlays enabled in site config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Jul 17, 2017
1 parent 493e31b commit ae24c6b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/sprinkles/core/templates/tables/table-paginated.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@
</div>
{% endblock %}
{% block table_overlay %}
<div class="overlay js-uf-table-overlay hidden">
<i class="fa fa-refresh fa-spin"></i>
</div>
{% if site.uf_table.use_loading_transition %}
<div class="overlay js-uf-table-overlay hidden">
<i class="fa fa-refresh fa-spin"></i>
</div>
{% endif %}
{% endblock %}
</div>

0 comments on commit ae24c6b

Please sign in to comment.