From fdd5abd887ac07604bd7b838976f9c03573800c9 Mon Sep 17 00:00:00 2001
From: Yasin <mohammed-yasin.rahman@lip6.fr>
Date: Tue, 29 Apr 2014 17:25:52 +0200
Subject: [PATCH] Email: templates specific for fed4fire

---
 .../fed4fire/fed4fire_slice_request_email.html        | 11 +++++++++++
 .../fed4fire/fed4fire_user_request_email.html         | 11 +++++++++++
 portal/templates/slice_request_email.html             |  2 ++
 3 files changed, 24 insertions(+)
 create mode 100644 portal/templates/fed4fire/fed4fire_slice_request_email.html
 create mode 100644 portal/templates/fed4fire/fed4fire_user_request_email.html

diff --git a/portal/templates/fed4fire/fed4fire_slice_request_email.html b/portal/templates/fed4fire/fed4fire_slice_request_email.html
new file mode 100644
index 00000000..888e0322
--- /dev/null
+++ b/portal/templates/fed4fire/fed4fire_slice_request_email.html
@@ -0,0 +1,11 @@
+<img src="http://www.fed4fire.eu/uploads/media/fed4fire-logo.jpg">
+<br>
+<h1>NEW SLICE REQUEST</h1>
+<br>
+<b>slice name      :</b> {{slice_name}}</br>
+<b>number of nodes :</b> {{number_of_nodes}}</br>
+<b>type of nodes   :</b> {{type_of_nodes}}</br>
+<b>purpose         :</b> {{purpose}}</br>
+<b>email           :</b> {{email}}</br>
+<b>Portal url	   :</b> {{current_site}}</br> 
+
diff --git a/portal/templates/fed4fire/fed4fire_user_request_email.html b/portal/templates/fed4fire/fed4fire_user_request_email.html
new file mode 100644
index 00000000..5ed54a28
--- /dev/null
+++ b/portal/templates/fed4fire/fed4fire_user_request_email.html
@@ -0,0 +1,11 @@
+<img src="http://www.fed4fire.eu/uploads/media/fed4fire-logo.jpg">
+<br>
+<h1>NEW USER REQUEST</h1>
+<br>
+<b>First name   :</b> {{first_name}}
+<b>Last name    :</b> {{last_name}}
+<b>Authority hrn:</b> {{authority_hrn}}
+<b>Public key   :</b> {{public_key}}
+<b>Email        :</b> {{email}}
+<b>User hrn     :</b> {{user_hrn}}
+<b>Portal url	:</b> {{ current_site }}
diff --git a/portal/templates/slice_request_email.html b/portal/templates/slice_request_email.html
index 6e7ef5cc..6a9314b7 100644
--- a/portal/templates/slice_request_email.html
+++ b/portal/templates/slice_request_email.html
@@ -1,3 +1,5 @@
+<img src="https://onelab.eu/templates/onelab2/images/logo.png">
+<br>
 <h1>NEW SLICE REQUEST</h1>
 <br>
 <b>slice name      :</b> {{slice_name}}</br>
-- 
2.47.0