Commit e4d46877 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon

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

behatnotneeded

Change-Id: I188956c7b874e8ee901381ab7a554e6d58ac33ac
(cherry picked from commit 70e60fe7)
parent 04ef08d4
......@@ -29,7 +29,11 @@
{/if}
<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}
{$content|safe}
{else}
<div id="loadingicon{$id}"><span class="icon icon-spinner icon-pulse"></span> {str tag=loading}</div>
{/if}
{if !$versioning && ($link || $viewartefacturl)}
......
Markdown is supported
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