Commit 887f5709 authored by Liam's avatar Liam
Browse files

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

behatnotneeded

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