From f3511c8ab3b750ae4bdedae3c91e3ca1ca9a0162 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 13 Feb 2018 14:47:31 +0100
Subject: [PATCH] parameter for request account email content

---
 .../model/user/ConfigurationElementEditType.java    | 13 +++++++++----
 .../model/user/ConfigurationElementType.java        | 11 ++++++++++-
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementEditType.java b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementEditType.java
index 2b6256c70a..18fa9c1975 100644
--- a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementEditType.java
+++ b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementEditType.java
@@ -18,10 +18,15 @@ public enum ConfigurationElementEditType {
 	 */
 	INTEGER,
 
-	/**
-	 * String value.
-	 */
-	STRING,
+    /**
+     * String value.
+     */
+    STRING,
+
+    /**
+     * Multiple line text value.
+     */
+    TEXT,
 
 	/**
 	 * Color value (for color picker).
diff --git a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java
index 53b7fc7154..e4577f3ccb 100644
--- a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java
+++ b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java
@@ -144,7 +144,16 @@ public enum ConfigurationElementType {
    * Opacity of data overlay objects in the frontend.
    */
   OVERLAY_OPACITY("Opacity used when drwaing data overlays (value between 0.0-1.0)", "0.8",
-      ConfigurationElementEditType.DOUBLE, false),;
+      ConfigurationElementEditType.DOUBLE, false),
+
+  /**
+   * Default content of the email when requesting for an account in the system.
+   */
+  REQUEST_ACCOUNT_DEFAULT_CONTENT("Email content used for requesting an account",
+      "Dear Diseas map team,\nI would like to request for an account.\nKind regards", ConfigurationElementEditType.TEXT,
+      false),
+
+  ;
 
   /**
    * Default value of the configuration parameter (it will be used only when value
-- 
GitLab