Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • perun/perun-proxyidp/v1/simplesamlphp-module-elixir
1 result
Show changes
Commits on Source (3)
## [6.0.2](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-elixir/compare/v6.0.1...v6.0.2) (2022-12-15)
### Bug Fixes
* 🐛 Fix typos and unfinished logic in consent jurisdiction ([7489ee5](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-elixir/commit/7489ee5e7940383e8b5124964c4fa622c8d3bbcf))
## [6.0.1](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-elixir/compare/v6.0.0...v6.0.1) (2022-12-13)
......
......@@ -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="' .
......