Skip to content
Snippets Groups Projects
Unverified Commit eb650979 authored by Dominik František Bučík's avatar Dominik František Bučík Committed by GitHub
Browse files

Merge pull request #22 from dBucik/fix_consent

fix: :bug: Fix consent collapse
parents 33990ebd e34cf2e9
Branches
Tags
No related merge requests found
...@@ -56,7 +56,7 @@ class ConsentHelper ...@@ -56,7 +56,7 @@ class ConsentHelper
return 'in ' . $countryCodes[$jurisdiction]; return 'in ' . $countryCodes[$jurisdiction];
} }
public static function printUserAttributes(array $attributes, $getTranslator) public static function printUserAttributes(array $attributes, $translator)
{ {
$newAttributes = []; $newAttributes = [];
foreach ($attributes as $name => $value) { foreach ($attributes as $name => $value) {
...@@ -64,10 +64,10 @@ class ConsentHelper ...@@ -64,10 +64,10 @@ class ConsentHelper
$newAttributes[$name] = $value; $newAttributes[$name] = $value;
} }
} }
ConsentHelper::printAttributes($newAttributes, $getTranslator); ConsentHelper::printAttributes($newAttributes, $translator);
} }
public static function printTechnicalAttributes(array $attributes, $getTranslator) public static function printTechnicalAttributes(array $attributes, $translator)
{ {
$newAttributes = []; $newAttributes = [];
foreach ($attributes as $name => $value) { foreach ($attributes as $name => $value) {
...@@ -75,7 +75,7 @@ class ConsentHelper ...@@ -75,7 +75,7 @@ class ConsentHelper
$newAttributes[$name] = $value; $newAttributes[$name] = $value;
} }
} }
ConsentHelper::printAttributes($newAttributes, $getTranslator); ConsentHelper::printAttributes($newAttributes, $translator);
} }
public static function printAttributes($attributes, $translator) public static function printAttributes($attributes, $translator)
......
...@@ -44,7 +44,7 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -44,7 +44,7 @@ $this->includeAtTemplateBase('includes/header.php');
</div> </div>
<div class="card-header" id="headingThree"> <div class="card-header" id="headingThree">
<h5 class="mb-0"> <h5 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="true" aria-controls="collapseOne"> <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="true" aria-controls="collapseThree">
Technical Information Technical Information
</button> </button>
</h5> </h5>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment