From 3fe9972af45f6d6cfa72790b7272052c5ac273a9 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 27 Jun 2018 12:16:15 +0200
Subject: [PATCH] text of the agreement clarified

---
 .../src/main/js/gui/leftPanel/OverlayPanel.js      | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/frontend-js/src/main/js/gui/leftPanel/OverlayPanel.js b/frontend-js/src/main/js/gui/leftPanel/OverlayPanel.js
index a2a207664e..ab03202e55 100644
--- a/frontend-js/src/main/js/gui/leftPanel/OverlayPanel.js
+++ b/frontend-js/src/main/js/gui/leftPanel/OverlayPanel.js
@@ -234,8 +234,11 @@ OverlayPanel.prototype.openEditOverlayDialog = function (overlay) {
   var consentCheckbox = document.createElement("input");
   consentCheckbox.type = "checkbox";
   consentCheckbox.checked = overlay.isGoogleLicenseConsent();
-  row = guiUtils.createTableRow([guiUtils.createLabel("I am aware that this map is displayed under the terms of the <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>license of Google Maps Platform</a> and I agree to these terms. " +
-    "In particular, I warrant that this dataset does not contain Protected Health Information (as defined in and subject to HIPAA). "), consentCheckbox]);
+
+  row = guiUtils.createTableRow([guiUtils.createLabel("I am aware that if this map is displayed using Google Maps API, " +
+    "it falls under their license <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>" +
+    "https://cloud.google.com/maps-platform/terms/</a>, to which I agree. I warrant that this dataset contains no " +
+    "Protected Health Information (as defined in and subject to HIPAA)."), consentCheckbox]);
   content.appendChild(row);
 
   var buttons = [{
@@ -461,8 +464,11 @@ OverlayPanel.prototype.openAddOverlayDialog = function () {
   var consentCheckbox = document.createElement("input");
   consentCheckbox.type = "checkbox";
   content.appendChild(consentCheckbox);
-  content.appendChild(guiUtils.createLabel("I am aware that this map is displayed under the terms of the <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>license of Google Maps Platform</a> and I agree to these terms. " +
-    "In particular, I warrant that this dataset does not contain Protected Health Information (as defined in and subject to HIPAA). "));
+
+  content.appendChild(guiUtils.createLabel("I am aware that if this map is displayed using Google Maps API, " +
+    "it falls under their license <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>" +
+    "https://cloud.google.com/maps-platform/terms/</a>, to which I agree. I warrant that this dataset contains no " +
+    "Protected Health Information (as defined in and subject to HIPAA)."));
 
 
   var buttons = [{
-- 
GitLab