Skip to content
Snippets Groups Projects
Commit 62574efc authored by Dominik František Bučík's avatar Dominik František Bučík
Browse files

Merge branch 'fix_consent_jurisdiction' into 'main'

fix: :bug: Fix typos and unfinished logic in consent jurisdiction

See merge request perun-proxy-aai/simplesamlphp/simplesamlphp-module-elixir!39
parents 16dd94a4 7489ee5e
No related branches found
No related tags found
1 merge request!39fix: 🐛 Fix typos and unfinished logic in consent jurisdiction
Pipeline #220982 passed with warnings
......@@ -120,12 +120,15 @@ class ConsentHelper
{
if (!empty($parsedJurisdiction)) {
echo '<div class="alert alert-danger" role="alert">' . PHP_EOL;
if ($parsedJurisdiction === 'INT' || $parsedJurisdiction === 'EMBL') {
if (
$parsedJurisdiction === self::JURISDICTION_EMBL
|| $parsedJurisdiction === self::JURISDICTION_INTERNATIONAL_ORG
) {
echo ' <h6>This service is provided by an international organization.</h6>' . PHP_EOL;
} else {
echo ' <h6>This service is ' . $parsedJurisdiction . '</h6>' . PHP_EOL;
echo ' <h6>This service is in ' . $parsedJurisdiction . '</h6>' . PHP_EOL;
}
if ($parsedJurisdiction === 'EMBL') {
if ($parsedJurisdiction === self::JURISDICTION_EMBL) {
echo ' <p>In order to access the requested services, the Life Science Login needs to transfer ' .
'your personal data to an international organization outside EU/EEA jurisdictions.<br/>' .
'<i>Please be aware that upon transfer your personal data will be protected by <a href="' .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment