Commit 70e60fe7 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1796590: Add "Loading" icon to blocks load by ajax


Change-Id: I188956c7b874e8ee901381ab7a554e6d58ac33ac
parent 33f5ef39
......@@ -29,7 +29,11 @@
<div class="{if !$title}no-heading {/if}block{if $retractable} collapse{if $retractedonload}{else} in{/if}{/if}" id="blockinstance_{$id}_target{if $versioning}_{$versioning->version}{/if}" {if $loadbyajax}data-blocktype-ajax="{$id}"{else}data-blocktype-noajax="{$id}"{/if}>
{if !$loadbyajax}{$content|safe}{/if}
{if !$loadbyajax}
<div id="loadingicon{$id}"><span class="icon icon-spinner icon-pulse"></span> {str tag=loading}</div>
{if !$versioning && ($link || $viewartefacturl)}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment