Commit 887f5709 authored by Liam's avatar Liam

Bug #1750478: Legal agreement acceptance should be in collapsible panels Edit

behatnotneeded

Change-Id: I6847110e207a688f695aa7e8c50a2c131526931f
parent f7eeee18
......@@ -548,3 +548,8 @@
padding: 5px;
clear: right;
}
// Used to remove the second border around the legal information
#agreetoprivacy .panel {
border: 0;
}
{if $ignoreagreevalue}
<h2>{$privacytitle}</h2>
{$privacy->content|safe}
{else}
<div class="panel panel-default">
<div class="last form-group collapsible-group">
<fieldset class="pieform-fieldset last collapsible">
<legend>
<h4>
<a href="#dropdown{$privacy->id}" data-toggle="collapse" aria-expanded="false" aria-controls="dropdown" class="collapsed">
{$privacytitle}
<span class="icon icon-chevron-down collapse-indicator right pull-right"></span>
</a>
</h4>
</legend>
<div class="fieldset-body collapse" id="dropdown{$privacy->id}">
<span class="text-midtone pull-right">{str tag='lastupdated' section='admin'} {$privacytime} </span>
{$privacy->content|safe}
{/if}
<div class="panel panel-default">
<div class="last form-group collapsible-group">
<fieldset class="pieform-fieldset last collapsible">
<legend>
<h4>
<a href="#dropdown{$privacy->id}" data-toggle="collapse" aria-expanded="false" aria-controls="dropdown" class="collapsed">
{$privacytitle}
<span class="icon icon-chevron-down collapse-indicator right pull-right"></span>
</a>
</h4>
</legend>
<div class="fieldset-body collapse {if !($privacy->agreed && $ignoreagreevalue)}in{/if}" id="dropdown{$privacy->id}">
<span class="text-midtone pull-right">{str tag='lastupdated' section='admin'} {$privacytime} </span>
{$privacy->content|safe}
{if !$ignoreagreevalue}
</div>
</fieldset>
</div>
</div>
{/if}
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