From cb5cf0ad52dce70c66a6de181c2bac9ca66e52ba Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Fri, 30 Mar 2018 17:44:22 +0200
Subject: [PATCH] help button for cache, auto margin and display as sbgn option

---
 .../src/main/js/gui/admin/AddProjectDialog.js        | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/frontend-js/src/main/js/gui/admin/AddProjectDialog.js b/frontend-js/src/main/js/gui/admin/AddProjectDialog.js
index 6917df3367..7407a0b6e0 100644
--- a/frontend-js/src/main/js/gui/admin/AddProjectDialog.js
+++ b/frontend-js/src/main/js/gui/admin/AddProjectDialog.js
@@ -278,17 +278,23 @@ AddProjectDialog.prototype.createGeneralTabContent = function () {
   table.appendChild(self.createCheckboxRow({
     labelName: "Cache data:",
     defaultValue: false,
-    inputName: "project-cache-data"
+    inputName: "project-cache-data",
+    help: 'If this checkbox is checked, all hyperlinks in the project resolved by MIRIAM repository (e.g. cross-links ' +
+    'to external bioinformatics databases) are resolved and cached.'
   }));
   table.appendChild(self.createCheckboxRow({
     labelName: "Auto margin:",
     defaultValue: true,
-    inputName: "project-auto-margin"
+    inputName: "project-auto-margin",
+    help: 'If this checkbox is checked, upon generation of the graphics, empty spaces surrounding elements and ' +
+    'interactions will be cropped.'
   }));
   table.appendChild(self.createCheckboxRow({
     labelName: "Display as SBGN:",
     defaultValue: false,
-    inputName: "project-sbgn-visualization"
+    inputName: "project-sbgn-visualization",
+    help: 'If this checkbox is checked, the uploaded model will be displayed in SBGN format, instead of default ' +
+    'CellDesigner format.'
   }));
   table.appendChild(self.createCheckboxRow({
     labelName: "Semantic zooming:",
-- 
GitLab