Commit 49eb1e1c authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

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

parents cc3af3c7 887f5709
...@@ -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>
{$privacy->content|safe}
{else}
<div class="panel panel-default">
<div class="last form-group collapsible-group"> <div class="last form-group collapsible-group">
<fieldset class="pieform-fieldset last collapsible"> <fieldset class="pieform-fieldset last collapsible">
<legend> <legend>
...@@ -13,7 +9,6 @@ ...@@ -13,7 +9,6 @@
</a> </a>
</h4> </h4>
</legend> </legend>
<div class="fieldset-body collapse" id="dropdown{$privacy->id}"> <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> <span class="text-midtone pull-right">{str tag='lastupdated' section='admin'} {$privacytime} </span>
{$privacy->content|safe} {$privacy->content|safe}
{/if}
{if !$ignoreagreevalue}
</div> </div>
</fieldset> </fieldset>
</div> </div>
</div> </div>
{/if}
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