Commit 4f3c027c authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug #1474354: Need to hide the 'details' of block when retracted



Whether the block is retracted on load or manually retracted

This fix wraps both the content and details bar in a div so both can
be hidden / shown.

Change-Id: Ibea05921372acbe7d925468d1287ede89dfb42c9
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 2a1b1adb
......@@ -36,8 +36,8 @@
</a>
{/if}
{/if}
<div class="{if !$title}no-heading {/if}block{if $retractable} collapse{if $retractedonload}{else} in{/if}{/if}" id="blockinstance_{$id}_target" {if $loadbyajax}data-blocktype-ajax="{$id}"{else}data-blocktype-noajax="{$id}"{/if}>{if !$loadbyajax}{$content|safe}{/if}</div>
<div class="{if $retractable} collapse{if $retractedonload}{else} in{/if}{/if}" id="blockinstance_{$id}_target">
<div class="{if !$title}no-heading {/if}block" id="blockinstance_{$id}_target" {if $loadbyajax}data-blocktype-ajax="{$id}"{else}data-blocktype-noajax="{$id}"{/if}>{if !$loadbyajax}{$content|safe}{/if}</div>
{if $viewartefacturl}
......@@ -47,4 +47,5 @@
</a>
{/if}
</div>
</div>
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