Generic Templates for all portals: Migrations & Modifs
authorYasin Rahman <loic.baron@lip6.fr>
Tue, 12 May 2015 13:03:00 +0000 (15:03 +0200)
committerYasin Rahman <loic.baron@lip6.fr>
Tue, 12 May 2015 13:03:00 +0000 (15:03 +0200)
43 files changed:
myslice/settings.py
portal/templates/activate_user.html
portal/templates/activate_user.txt
portal/templates/contact_support_email.html
portal/templates/contact_support_email_subject.txt
portal/templates/fed4fire/fed4fire_activate_user.html [deleted file]
portal/templates/fed4fire/fed4fire_activate_user.txt [deleted file]
portal/templates/fed4fire/fed4fire_contact_support_email.html
portal/templates/fed4fire/fed4fire_contact_support_email.txt [deleted file]
portal/templates/fed4fire/fed4fire_email_activation.html [deleted file]
portal/templates/fed4fire/fed4fire_join_request_denied.html [deleted file]
portal/templates/fed4fire/fed4fire_join_request_denied.txt [deleted file]
portal/templates/fed4fire/fed4fire_join_request_email.html [deleted file]
portal/templates/fed4fire/fed4fire_join_request_email.txt [deleted file]
portal/templates/fed4fire/fed4fire_join_request_validated.html [deleted file]
portal/templates/fed4fire/fed4fire_join_request_validated.txt [deleted file]
portal/templates/fed4fire/fed4fire_slice-request-done-view.html [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_denied.html [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_denied.txt [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_email.html [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_email.txt [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_validated.html [deleted file]
portal/templates/fed4fire/fed4fire_slice_request_validated.txt [deleted file]
portal/templates/fed4fire/fed4fire_user_register_complete.html [deleted file]
portal/templates/fed4fire/fed4fire_user_request_denied.html [deleted file]
portal/templates/fed4fire/fed4fire_user_request_denied.txt [deleted file]
portal/templates/fed4fire/fed4fire_user_request_email.html [deleted file]
portal/templates/fed4fire/fed4fire_user_request_email.txt [deleted file]
portal/templates/onelab/onelab_user_request_email.html [deleted file]
portal/templates/onelab/onelab_user_request_email.txt [deleted file]
portal/templates/project_request_denied.html
portal/templates/project_request_email.html
portal/templates/slice-request-done-view.html
portal/templates/slice_request_denied.html
portal/templates/slice_request_email.html
portal/templates/slice_request_email.txt
portal/templates/slice_request_validated.html
portal/templates/slice_request_validated.txt
portal/templates/user_register_complete.html
portal/templates/user_request_denied.html
portal/templates/user_request_denied.txt
portal/templates/user_request_email.html
portal/templates/user_request_email.txt

index 04d96e6..fc09fc3 100644 (file)
@@ -90,6 +90,7 @@ MANAGERS = ADMINS
 #DEFAULT_FROM_EMAIL = "root@theseus.ipv6.lip6.fr"
 #EMAIL_HOST_PASSWORD = "mypassword"
 
+DEFAULT_FROM_EMAIL = "OneLab Support <support@onelab.eu>"
 EMAIL_HOST = "localhost"
 EMAIL_PORT = 25
 EMAIL_USE_TLS = False
index 0692b0b..c46176b 100644 (file)
@@ -1,9 +1,9 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}">
 <br>
 <p>We have received a user signup request for your email address at {{current_site}}</p>
 <p>You have the following user details:</p>
 
-Organization: {{organization}}<br>
+Authority: {{authority_hrn}}<br>
 First name: {{first_name}}<br>
 Last name: {{last_name}}<br>
 Email: {{email}}<br>
@@ -24,6 +24,6 @@ A manager from your organization must also validate your request. Upon confirmat
 </li>
 </ul>
 <p>
-We look forward to welcoming you to OneLab. You will find answers to frequently asked questions <a href="{{current_site}}/support/">here</a>. 
+We look forward to welcoming you to {{theme.label}}. You will find answers to frequently asked questions <a href="{{current_site}}/support/">here</a>. 
 Please don't hesitate to <a href="{{current_site}}/contact/">contact us</a> with any additional questions that you might have.
 </p>
index a68d1ce..5a43397 100644 (file)
@@ -2,7 +2,7 @@ We have received a user signup request for your email address at {{current_site}
 
 You have the following user details:
 
-Organization: {{organization}}
+Authority: {{authority_hrn}}
 First name: {{first_name}}
 Last name: {{last_name}}
 Email: {{email}}
@@ -17,8 +17,8 @@ You may now log in to the portal using your email address and the password that
 
        2. A manager from your organization must also validate your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
 
-We look forward to welcoming you to OneLab
-Please don't hesitate to contact us at support@onelab.eu with any additional questions that you might have.
+We look forward to welcoming you to {{theme.label}}
+Please don't hesitate to contact us at support@{{theme.theme}}.eu with any additional questions that you might have.
 
 
 
index 9848087..54c1190 100644 (file)
@@ -1,4 +1,4 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}">
 <br>
 <h1>User details</h1>
 <br>
index dd21e44..e413c62 100644 (file)
@@ -1 +1 @@
-OneLab support: user ticket
+{{theme.label}} support: {{email}} submitted a query
diff --git a/portal/templates/fed4fire/fed4fire_activate_user.html b/portal/templates/fed4fire/fed4fire_activate_user.html
deleted file mode 100644 (file)
index e1fa009..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>We have received a user signup request for your email address at {{current_site}}</p>
-<p>You have the following user details:</p>
-
-First name: {{first_name}}<br>
-Last name: {{last_name}}<br>
-Email: {{email}}<br>
-
-<p></p>
-<p>
-You may now <a href="{{current_site}}">log</a> in to the portal using your email address and the password that you provided, but your access will be limited. To gain full access, two steps are required:
-</p>
-
-<ul style="list-style-type:decimal;">
-<li>
-You must confirm that you have indeed made this request by clicking on the following link: <br>
-       <a href={{validation_link}}>{{validation_link}}</a> 
-       <ul><li>If you did not make this request, we apologise. You may disregard this email or you may advise us the error by replying to this email.</li></ul>
-</li>
-<li>
-A manager from your organization must also validate your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
-</li>
-</ul>
-<p>
-We look forward to welcoming you to Fed4FIRE portal. You will find answers to frequently asked questions <a href="{{current_site}}/support/">here</a>. 
-Please don't hesitate to <a href="{{current_site}}/contact/">contact us</a> with any additional questions that you might have.
-</p>
diff --git a/portal/templates/fed4fire/fed4fire_activate_user.txt b/portal/templates/fed4fire/fed4fire_activate_user.txt
deleted file mode 100644 (file)
index b5eb224..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-You have registered to {{current_site}}
-Please validate your email address by clicking the following link:
-
-{{validation_link}}
-
-
-
index 74ca3da..31096ba 100644 (file)
@@ -4,5 +4,5 @@
 
 <h1>Query details</h1>
 
-<b>Subject             :</b> {{subject}}
-<b>Query               :</b> {{description}}
+<b>Subject      :</b> {{subject}}
+<b>Query        :</b> {{description}}
diff --git a/portal/templates/fed4fire/fed4fire_contact_support_email.txt b/portal/templates/fed4fire/fed4fire_contact_support_email.txt
deleted file mode 100644 (file)
index e6c0534..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-email           : {{email}}
-
-Query Details:
-
-Subject         : {{subject}}
-Description     : {{description}}
diff --git a/portal/templates/fed4fire/fed4fire_email_activation.html b/portal/templates/fed4fire/fed4fire_email_activation.html
deleted file mode 100644 (file)
index ae7627a..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "layout.html" %}
-
-{% block content %}
-
-<div class="row">
-       <h1><img src="{{ STATIC_URL }}img/icon_user_small.png" alt="User Registration" />User sign-up</h1>
-</div>
-<div class="row">
-       {% if activation_status == 'success' %}
-               <h3>Signup request confirmed.</h3>
-               <p>You are currently able to log in to the portal using your email address and the password that you have provided; however, your access is still limited.</p> 
-               <p>You will have full access as soon as your account is validated by a manager at your organization. We have sent an email to your organisation's managers with a validation request.</p>
-       {%else%}
-               <h3>Signup confirmation failed.</h3>
-               <p>You have probably arrived at this page by clicking a confirmation link in an email that we have sent to you. 
-               We have been unable to match the link that you have clicked to a signup request in our database.</p>
-               <p>Please <a href="/portal/contact/">contact support</a> so that we may help you complete the signup process.</p>
-       {%endif%}
- </div>
-
-{% endblock %}
diff --git a/portal/templates/fed4fire/fed4fire_join_request_denied.html b/portal/templates/fed4fire/fed4fire_join_request_denied.html
deleted file mode 100644 (file)
index 5b98402..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>Dear Fed4FIRE user,</p>
-<p></p>
-<p>You have recently requested to join a project in the Fed4FIRE portal.</p>
-<br>
-<b>Project name  :</b> {{project_name}}</br>
-<b>Authority     :</b> {{authority_hrn}}</br>
-<b>Email         :</b> {{email}}</br>
-<p></p>
-<br>
-<p>We regret to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. 
-For any other queries, please contact us by replying to this email.</p>
-<br>
-<p>We wish you a fruitful user experience on Fed4FIRE.</p>
-<br>
-<p>Yours sincerely,</p>
-<p>The Fed4FIRE team</p>
diff --git a/portal/templates/fed4fire/fed4fire_join_request_denied.txt b/portal/templates/fed4fire/fed4fire_join_request_denied.txt
deleted file mode 100644 (file)
index 45bab22..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Dear Fed4FIRE user,
-
-You have recently requested to join a project in the Fed4FIRE portal.
-
-Project name  : {{project_name}}
-Authority     : {{authority_hrn}}
-Email         : {{email}}
-We regret to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, please contact us by replying to this email.
-
-We wish you a fruitful user experience on Fed4FIRE.
-
-Yours sincerely,
-The Fed4FIRE team
-
diff --git a/portal/templates/fed4fire/fed4fire_join_request_email.html b/portal/templates/fed4fire/fed4fire_join_request_email.html
deleted file mode 100644 (file)
index f7949d0..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<h1>JOIN PROJECT REQUEST</h1>
-<br>
-<p>You are receiving this request because we have you listed as a manager of a project that uses Fed4FIRE.</p>
-<p>A user has requested to join your project, which will allow him or her to reserve testbed resources to conduct an experiment.</p>
-<br>
-<b>Project name  :</b> {{project_name}}</br>
-<b>Authority     :</b> {{authority_hrn}}</br>
-<b>Email         :</b> {{email}}</br>
-<p></p>
-<p>You can accept or reject this request <a href="{{current_site}}/portal/project/{{authority_hrn}}.{{project_name}}#requests">in the portal.</a><p>
-<p>Please be sure that you know the user who is requesting to join your project.</p>
-<p>Fed4FIRE and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done.</p>
-<p></p>
-<p>If you believe that you have received this message in error, or if you have any questions, kindly contact contact@fed4fire.eu</p>
-
-
diff --git a/portal/templates/fed4fire/fed4fire_join_request_email.txt b/portal/templates/fed4fire/fed4fire_join_request_email.txt
deleted file mode 100644 (file)
index 57cc4d7..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-JOIN PROJECT REQUEST
-
-You are receiving this request because we have you listed as a manager a project that uses Fed4FIRE.
-A user has requested to join your project, which will allow him or her to reserve testbed resources to conduct an experiment.
-
-Project name  : {{project_name}}
-Authority     : {{authority_hrn}}
-Email         : {{email}}
-
-You can accept or reject thisrequest in: 
-{{current_site}}/portal/project/{{authority_hrn}}.{{project_name}}#requests
-
-
-Please be sure that you know the user who is requesting to join your project.
-
-Fed4FIRE and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done. 
-
-If you believe that you have received this message in error, or if you have any questions, kindly contact contact@fed4fire.eu
-
diff --git a/portal/templates/fed4fire/fed4fire_join_request_validated.html b/portal/templates/fed4fire/fed4fire_join_request_validated.html
deleted file mode 100644 (file)
index 62ec312..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>Dear Fed4FIRE user,</p>
-<p></p>
-<p>You have recently requested to join a project in the Fed4FIRE portal.</p>
-<br>
-<b>Project name  :</b> {{project_name}}</br>
-<b>Authority     :</b> {{authority_hrn}}</br>
-<b>Email         :</b> {{email}}</br>
-<p></p>
-<p>
-       We are pleased to inform you that a project manager has validated your request on the Fed4FIRE portal. You have automatically been added to all existing slices in this project. You may also create new slices in this project and start experimenting.
-</p>
-<p></p>
-<p>We wish you a fruitful user experience with the Fed4FIRE portal.</p>
-<p></p>
-<p>Yours sincerely,</p>
-<p>The Fed4FIRE team</p>
-
-
diff --git a/portal/templates/fed4fire/fed4fire_join_request_validated.txt b/portal/templates/fed4fire/fed4fire_join_request_validated.txt
deleted file mode 100644 (file)
index 2b61cfe..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Dear Fed4FIRE user,
-
-You have recently requested to join a project in the Fed4FIRE portal.
-
-Project name  : {{project_name}}
-Authority     : {{authority_hrn}}
-Email         : {{email}}
-
-We are pleased to inform you that a project manager has validated your request on the Fed4FIRE portal. You have automatically been added to all existing slices in this project. You may also create new slices in this project and start experimenting.
-
-We wish you a fruitful user experience with the Fed4FIRE portal.
-
-Yours sincerely,
-The Fed4FIRE team
diff --git a/portal/templates/fed4fire/fed4fire_slice-request-done-view.html b/portal/templates/fed4fire/fed4fire_slice-request-done-view.html
deleted file mode 100644 (file)
index c848b06..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "layout.html" %}
-
-{% block content %}
-
-  <h1>Success</h1>
-
-Your slice has been created. You can view all your slices in the <a href="/">dashboard.</a>
-<script>
-$(document).ready(function() {
-    localStorage.clear();
-});
-</script>
-{% endblock %}
-
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_denied.html b/portal/templates/fed4fire/fed4fire_slice_request_denied.html
deleted file mode 100644 (file)
index 7a1c12c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>Dear Fed4FIRE user,</p>
-<p></p>
-<p>You have recently requested the following slice on the Fed4FIRE portal({{portal_url}}):</p> 
-<br>
-<b>Slice name   :</b> {{slice_name}}<br>
-<b>URL          :</b> {{url}}<br>
-<b>Purpose      :</b> {{purpose}}<br>
-<br>
-<p>We regret to inform you that, a manager of your institution has not confirmed your request. Please contact the manager of your institution for further information. 
-For any other queries, please contact us by replying to this email.</p>
-<br>
-<p>We wish you a fruitful user experience on Fed4FIRE.</p>
-<br>
-<p>Yours sincerely,</p>
-<p>The Fed4FIRE team</p>
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_denied.txt b/portal/templates/fed4fire/fed4fire_slice_request_denied.txt
deleted file mode 100644 (file)
index 21897b4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Dear Fed4FIRE user,
-
-You have recently requested the following slice on the Fed4FIRE portal({{portal_url}}):
-
-Slice name   : {{slice_name}}
-URL          : {{url}}
-Purpose      : {{purpose}}
-We regret to inform you that, a manager of your institution has not confirmed your request. Please contact the manager of your institution for further information. For any other queries, please contact us by replying to this email.
-
-We wish you a fruitful user experience on Fed4FIRE.
-
-Yours sincerely,
-The Fed4FIRE team
-
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_email.html b/portal/templates/fed4fire/fed4fire_slice_request_email.html
deleted file mode 100644 (file)
index 5a217d8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<h1>NEW SLICE REQUEST</h1>
-<br>
-<p>You are receiving this request because we have you listed as a manager at an organization that uses Fed4FIRE.</p>
-<p>A user from your organization has requested the creation of a new slice, which will allow him or her to reserve testbed resources to conduct an experiment.</p>
-<br>
-<b>Slice name      :</b> {{slice_name}}</br>
-<b>URL                            :</b> {{url}}</br>
-<b>Purpose         :</b> {{purpose}}</br>
-<b>Organization           :</b> {{organization}}</br>
-<b>Email           :</b> {{email}}</br>
-<b>Portal url     :</b> {{current_site}}</br> 
-<p></p>
-<p>You can see new slice request <a href="{{current_site}}/portal/institution#requests">in the portal.</a><p>
-<p>Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions.</p>
-<p>And kindly ensure that the stated experiment purpose is clear, and, if there is a website that explains the website, that a URL is provided.</p>
-<p>Fed4FIRE and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done.</p>
-<p></p>
-<p>If you believe that you have received this message in error, or if you have any questions, kindly contact contact@fed4fire.eu</p>
-
-
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_email.txt b/portal/templates/fed4fire/fed4fire_slice_request_email.txt
deleted file mode 100644 (file)
index 5e8d24d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-NEW SLICE REQUEST
-
-You are receiving this request because we have you listed as a manager at an organization that uses Fed4FIRE.
-A user from your organization has requested the creation of a new slice, which will allow him or her to reserve testbed resources to conduct an experiment.
-
-Slice name      : {{slice_name}}
-URL                    : {{url}}
-Purpose         : {{purpose}}
-Email           : {{email}}
-Organization   : {{organization}}
-Portal url             : {{current_site}}
-
-You can see new slice request in: {{current_site}}/portal/institution#requests
-Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions.
-And kindly ensure that the stated experiment purpose is clear, and, if there is a website that explains the website, that a URL is provided. 
-Fed4FIRE and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done. 
-
-If you believe that you have received this message in error, or if you have any questions, kindly contact contact@fed4fire.eu
-
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_validated.html b/portal/templates/fed4fire/fed4fire_slice_request_validated.html
deleted file mode 100644 (file)
index 6fdcbbf..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>Dear Fed4FIRE user,</p>
-<p></p>
-<p>You have recently requested a slice in the Fed4FIRE portal.</p>
-<br>
-<b>Slice name   :</b> {{slice_name}}<br>
-<b>URL          :</b> {{url}}<br>
-<b>Purpose      :</b> {{purpose}}<br>
-<p></p>
-<p>
-       We are pleased to inform you that a manager from your institution has validated your slice request on the Fed4FIRE portal. 
-       You can now add resources to you slice and start experimenting.
-</p>
-<p></p>
-<p>We wish you a fruitful user experience with the Fed4FIRE portal.</p>
-<p></p>
-<p>Yours sincerely,</p>
-<p>The Fed4FIRE team</p>
-
-
diff --git a/portal/templates/fed4fire/fed4fire_slice_request_validated.txt b/portal/templates/fed4fire/fed4fire_slice_request_validated.txt
deleted file mode 100644 (file)
index a89be97..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Dear Fed4FIRE user,
-
-You have recently requested a slice in the Fed4FIRE portal.
-
-Slice name      : {{slice_name}}
-URL             : {{url}}
-Purpose         : {{purpose}}
-
-
-We are pleased to inform you that a manager from your institution has validated your slice request on the Fed4FIRE portal. You can now add resources to you slice and start experimenting.
-
-We wish you a fruitful user experience with the Fed4FIRE portal.
-
-Yours sincerely,
-The Fed4FIRE team
diff --git a/portal/templates/fed4fire/fed4fire_user_register_complete.html b/portal/templates/fed4fire/fed4fire_user_register_complete.html
deleted file mode 100644 (file)
index bcecea0..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "layout.html" %}
-
-{% block content %}
-
-<div class="row">
-       <h1><img src="{{ STATIC_URL }}img/icon_user_small.png" alt="User Registration" /> User sign-up</h1>
-</div>
-<div class="row">
-  <h3>Sign up information received.</h3>
-  <p>You can now log in to the portal. You will have limited access. </p>
-  <p>To gain full access, two steps are required:</p>
-  <ul>
-       <li>1. You confirm your signup request by clicking on the link in the email that we have sent to your email address.<br>
-               Please be aware that it can happen that this email was automatically filtered to your spam box.<br>
-               Please check your spam box if you do not receive the email in a few minutes</li>
-       <li>2. A manager from your organization validates your request. Upon confirmation of your signup request,<br> 
-               we will send an email to the managers at your organization with a validation request.</li>
-  </ul>                
-</div>
-
-{% endblock %}
diff --git a/portal/templates/fed4fire/fed4fire_user_request_denied.html b/portal/templates/fed4fire/fed4fire_user_request_denied.html
deleted file mode 100644 (file)
index 9245cbd..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<p>Dear {{first_name}} {{last_name}},</p>
-<p></p>
-<p>You have recently registered as a user to Fed4FIRE portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.</p>
-<p></p>
-<p>We  wish you all the best.</p>
-<p></p>
-<p>Yours sincerely,</p>
-<p>The Fed4FIRE team</p>
-
diff --git a/portal/templates/fed4fire/fed4fire_user_request_denied.txt b/portal/templates/fed4fire/fed4fire_user_request_denied.txt
deleted file mode 100644 (file)
index b3afba5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-Dear {{first_name}} {{last_name}},
-
-You have recently registered as a user to Fed4FIRE portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.
-
-We wish you all the best.
-
-Yours sincerely,
-The Fed4FIRE team
diff --git a/portal/templates/fed4fire/fed4fire_user_request_email.html b/portal/templates/fed4fire/fed4fire_user_request_email.html
deleted file mode 100644 (file)
index b9b090f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<img src="https://portal.fed4fire.eu/static/img/f4f-logo.png" width="80px">
-<br>
-<h1>NEW USER REQUEST</h1>
-<br>
-<b>First name   :</b> {{first_name}}<br>
-<b>Last name    :</b> {{last_name}}<br>
-<b>Organization :</b> {{organization}}<br>
-<b>Authority hrn:</b> {{authority_hrn}}<br>
-<b>Public key   :</b> {{public_key}}<br>
-<b>Email        :</b> {{email}}<br>
-<b>User hrn     :</b> {{user_hrn}}<br>
-<b>Portal url  :</b> {{ current_site }}<br>
-<p></p>
-<p>You can validate the user <a href="{{current_site}}/portal/institution#requests">here</a>.<p>
-<br>
-<p>Please note that the validation request will only become visible once the user has confirmed his/her email address.</p>
diff --git a/portal/templates/fed4fire/fed4fire_user_request_email.txt b/portal/templates/fed4fire/fed4fire_user_request_email.txt
deleted file mode 100644 (file)
index 17ce184..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-NEW USER REQUEST
-
-First name   : {{first_name}}
-Last name    : {{last_name}} 
-Organization :{{organization}}
-Authority hrn: {{authority_hrn}}
-Public key   : {{public_key}}
-Email        : {{email}}
-User hrn     : {{user_hrn}}
-Portal url   : {{ current_site }}
-
-Please note that the validation request will only become visible once the user has confirmed his/her email address.
-
-
diff --git a/portal/templates/onelab/onelab_user_request_email.html b/portal/templates/onelab/onelab_user_request_email.html
deleted file mode 100644 (file)
index f5f4573..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<img src="https://onelab.eu/static/images/onelab.png"> 
-<br>
-<h1>NEW USER REQUEST</h1>
-<br>
-<p>You are receiving this request because we have you listed as a manager at an organization that uses OneLab.</p> 
-<p>If you believe that you have received this message in error, or if you have any questions, kindly contact support@onelab.eu.</p>
-<br>
-<b>First name   :</b> {{first_name}}<br>
-<b>Last name    :</b> {{last_name}}<br>
-<b>Organization :</b> {{organization}}<br>
-<b>Authority hrn:</b> {{authority_hrn}}<br>
-<b>Public key   :</b> {{public_key}}<br>
-<b>Email        :</b> {{email}}<br>
-<b>User hrn     :</b> {{user_hrn}}<br>
-<b>Portal url  :</b> {{ current_site }}<br>
-<p></p>
-<p>You can see new user request <a href="{{current_site}}/portal/institution#requests">in the portal.</a><p>
-<p>Please note that the request will only become visible to you on the OneLab portal once the user has confirmed his/her email address.</p>
-<p>Please only validate users who you know for whose actions you are prepared to take responsibility, as described in the 
-<a href="{{current_site}}/terms">OneLab terms and conditions.</a> If you find any anomalies in the request 
-(mistakes/spam/unauthorized persons) please <a href="mailto:support@onelab.eu">notify us.</a></p>
-
diff --git a/portal/templates/onelab/onelab_user_request_email.txt b/portal/templates/onelab/onelab_user_request_email.txt
deleted file mode 100644 (file)
index 68a8253..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-NEW USER REQUEST
-
-You are receiving this request because we have you listed as a manager at an organization that uses OneLab. 
-If you believe that you have received this message in error, or if you have any questions, kindly contact support@onelab.eu.
-
-First name   : {{first_name}}
-Last name    : {{last_name}} 
-Organization :{{organization}}
-Authority hrn: {{authority_hrn}}
-Public key   : {{public_key}}
-Email        : {{email}}
-User hrn     : {{user_hrn}}
-Portal url   : {{ current_site }}
-
-You can see new user request in the portal: {{current_site}}/portal/institution#requests
-
-Please note that the request will only become visible to you on the OneLab portal once the user has confirmed his/her email address.
-
-Please only validate users who you know for whose actions you are prepared to take responsibility, as described in the OneLab terms and conditions. 
-If you find any anomalies in the request (mistakes/spam/unauthorized persons)  please notify us at support@onelab.eu.
-
index 33532fd..2824e2d 100644 (file)
@@ -2,7 +2,7 @@
 <br>
 <p>Dear {{theme.label}} user,</p>
 <p></p>
-<p>You have recently requested a project in the {{theme}} portal.</p>
+<p>You have recently requested a project in the {{theme.label}} portal.</p>
 <br>
 <b>Project name  :</b> {{project_name}}</br>
 <b>Authority     :</b> {{authority_hrn}}</br>
@@ -13,7 +13,7 @@
 <p>We regret to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. 
 For any other queries, please contact us by replying to this email.</p>
 <br>
-<p>We wish you a fruitful user experience on {{{{theme.label}}}}.</p>
+<p>We wish you a fruitful user experience on {{theme.label}}.</p>
 <br>
 <p>Yours sincerely,</p>
-<p>The {{{{theme.label}}}} team</p>
+<p>The {{theme.label}} team</p>
index 5422769..991127f 100644 (file)
@@ -19,6 +19,4 @@
 <p>If you believe that you have received this message in error, or if you have any questions, kindly contact contact@{{theme.theme}}.eu</p>
 <br>
 <p>Yours sincerely,</p>            
-<p>The {{{{theme.label}}}} team</p>
-
-{%# include theme|add:"_widget-email_footer.html" %}
+<p>The {{theme.label}} team</p>
index 9ab6807..c848b06 100644 (file)
@@ -2,9 +2,9 @@
 
 {% block content %}
 
-  <h1>Slice created</h1>
+  <h1>Success</h1>
 
-As a manager of your institution, your slice has directly been created directly.
+Your slice has been created. You can view all your slices in the <a href="/">dashboard.</a>
 <script>
 $(document).ready(function() {
     localStorage.clear();
index ab95dee..dec31b4 100644 (file)
@@ -1,4 +1,4 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{portal_url}}/static/img/{{theme.logo}}">
 <br>
 <p>Dear OneLab user,</p>
 <p></p>
index a9ca8f2..226829c 100644 (file)
@@ -1,8 +1,8 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="https://{{current_site}}/static/img/{{theme.logo}}" width="80px">
 <br>
 <h1>NEW SLICE REQUEST</h1>
 <br>
-<p>You are receiving this request because we have you listed as a manager at an organization that uses OneLab.</p>
+<p>You are receiving this request because we have you listed as a manager at an organization that uses {{theme.label}}.</p>
 <p>A user from your organization has requested the creation of a new slice, which will allow him or her to reserve testbed resources to conduct an experiment.</p>
 <br>
 <b>Slice name      :</b> {{slice_name}}</br>
 <b>Portal url     :</b> {{current_site}}</br> 
 <p></p>
 <p>You can see new slice request <a href="{{current_site}}/portal/institution#requests">in the portal.</a><p>
-<p>Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions, as described in the 
-<a href="{{current_site}}/terms">OneLab terms and conditions.</a></p>
+<p>Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions.
 <p>And kindly ensure that the stated experiment purpose is clear, and, if there is a website that explains the website, that a URL is provided.</p>
-<p>OneLab and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done.</p>
+<p>{{theme.label}} and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done.</p>
 <p></p>
-<p>If you believe that you have received this message in error, or if you have any questions, kindly contact support@onelab.eu.</p>
+<p>If you believe that you have received this message in error, or if you have any questions, kindly contact support@{{theme.theme}}.eu.</p>
+
+<p>Yours sincerely,</p>
+<p>The {{theme.label}} team</p>
+
 
 
index 0f3c5b9..013a12c 100644 (file)
@@ -1,6 +1,6 @@
 NEW SLICE REQUEST
 
-You are receiving this request because we have you listed as a manager at an organization that uses OneLab.
+You are receiving this request because we have you listed as a manager at an organization that uses {{theme.label}}.
 A user from your organization has requested the creation of a new slice, which will allow him or her to reserve testbed resources to conduct an experiment.
 
 Slice name      : {{slice_name}}
@@ -11,11 +11,13 @@ Organization        : {{organization}}
 Portal url             : {{current_site}}
 
 You can see new slice request in: {{current_site}}/portal/institution#requests
-Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions, as described in the OneLab terms and conditions:
-       {{current_site}}/terms
+Please be sure that you know the user who is requesting this slice, as you are responsible for his or her actions.  
 And kindly ensure that the stated experiment purpose is clear, and, if there is a website that explains the website, that a URL is provided. 
-OneLab and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done. 
+{{theme.label}} and its affiliated testbeds exist purely to support useful and interesting work. To ensure the future of these environments, we need to know what work is actually being done. 
 
 If you believe that you have received this message in error, or if you have any questions, kindly contact support@onelab.eu.
 
+Yours sincerely,
+The {{theme.label}} team
+
+
index 7fac65c..ceea370 100644 (file)
@@ -1,23 +1,20 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}">
 <br>
-<p>Dear OneLab user,</p>
+<p>Dear {{theme.label}} user,</p>
 <p></p>
-<p>You have recently requested a slice in the OneLab portal.</p>
+<p>You have recently requested a slice in the {{theme.label}} portal.</p>
 <br>
 <b>Slice name   :</b> {{slice_name}}<br>
 <b>URL          :</b> {{number_of_nodes}}<br>
 <b>Purpose      :</b> {{purpose}}<br>
 <p></p>
 <p>
-       We are pleased to inform you that a manager from your institution has validated your slice request on the OneLab portal. 
+       We are pleased to inform you that a manager from your institution has validated your slice request on the {{theme.label}} portal. 
        You can now add resources to you slice and start experimenting.
 </p>
 <p></p>
-<p>On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.</p>
-<p></p>
-<p>Yours sincerely,</p>
-
-<p>Timur Friedman</p>
-<p>Executive Director</p>
-
+<p>We wish you a fruitful user experience with the {{theme.label}} portal.</p>      
+<p></p>                                                                      
+<p>Yours sincerely,</p>                                                      
+<p>The {{theme.label}} team</p>                                                     
 
index 993e6ef..fb00fe7 100644 (file)
@@ -1,19 +1,17 @@
-Dear OneLab user,
+ne
+Dear {{theme.{{theme.label}}} user,
 
-You have recently requested a slice in the OneLab portal.
+You have recently requested a slice in the {{theme.label}} portal.
 
 Slice name      : {{slice_name}}
 URL             : {{number_of_nodes}}
 Purpose         : {{purpose}}
 
 
-We are pleased to inform you that a manager from your institution has validated your slice request on the OneLab portal. You can now add resources to you slice and start experimenting.
-
-On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.
-
-Yours sincerely,
-
-Timur Friedman
-Executive Director
+We are pleased to inform you that a manager from your institution has validated your slice request on the {{theme.label}} portal. You can now add resources to you slice and start experimenting.
 
+We wish you a fruitful user experience with the {{theme.label}} portal.             
+                                                                                    
+Yours sincerely,                                                                
+The {{theme.label}} team                                                       
 
index 4097b33..bcecea0 100644 (file)
@@ -3,20 +3,19 @@
 {% block content %}
 
 <div class="row">
-       <div class="col-md-12">
-       <h1><img src="{{ STATIC_URL }}icons/user-xs.png" alt="User Registration" />User sign-up</h1>
-       </div>
+       <h1><img src="{{ STATIC_URL }}img/icon_user_small.png" alt="User Registration" /> User sign-up</h1>
 </div>
 <div class="row">
-       <div class="col-md-12">
-         <h3>Sign up information received.</h3>
-         <p>You can now <a href="/">log in</a> to the portal. You will have limited access. </p>
-         <p>To gain full access, two steps are required:</p>
-         <ul style="list-style-type:decimal;">
-               <li>You confirm your signup request by clicking on the link in the email that we have sent to your email address.</li>
-               <li>A manager from your organization validates your request. (We have sent email to your organisation's registered managers.)</li>
-         </ul>
-       </div>
+  <h3>Sign up information received.</h3>
+  <p>You can now log in to the portal. You will have limited access. </p>
+  <p>To gain full access, two steps are required:</p>
+  <ul>
+       <li>1. You confirm your signup request by clicking on the link in the email that we have sent to your email address.<br>
+               Please be aware that it can happen that this email was automatically filtered to your spam box.<br>
+               Please check your spam box if you do not receive the email in a few minutes</li>
+       <li>2. A manager from your organization validates your request. Upon confirmation of your signup request,<br> 
+               we will send an email to the managers at your organization with a validation request.</li>
+  </ul>                
 </div>
 
 {% endblock %}
index 40ad706..1521b68 100644 (file)
@@ -1,13 +1,11 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}" width="80px">
 <br>
 <p>Dear {{first_name}} {{last_name}},</p>
 <p></p>
-<p>You have recently registered as a user to OneLab portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.</p>
+<p>You have recently registered as a user to {{theme.label}} portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.</p>
 <p></p>
-<p>On behalf of the entire team, I wish you all the best.</p>
+<p>We  wish you all the best.</p>
 <p></p>
 <p>Yours sincerely,</p>
-<p></p>
-<p>Timur Friedman</p>
-<p>Executive Director</p>
+<p>The {{theme.label}} team</p>
 
index 9f931a2..bc33aaa 100644 (file)
@@ -1,11 +1,8 @@
 Dear {{first_name}} {{last_name}},
 
-You have recently registered as a user to OneLab portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.
+You have recently registered as a user to {{theme.label}} portal. We are sorry to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.
 
-On behalf of the entire team, I wish you all the best.
+We wish you all the best.
 
 Yours sincerely,
-
-Timur Friedman
-Executive Director
-
+The {{theme.label}} team
index 37dfb52..0702a92 100644 (file)
@@ -1,16 +1,22 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}" width="80px">    
 <br>
 <h1>NEW USER REQUEST</h1>
 <br>
+<p>You are receiving this request because we have you listed as a manager at an organization that uses {{theme.label}}.</p> 
+<p>If you believe that you have received this message in error, or if you have any questions, kindly contact support@{{theme.theme}}.eu.</p>
+<br>
 <b>First name   :</b> {{first_name}}<br>
 <b>Last name    :</b> {{last_name}}<br>
-<b>Organization :</b> {{organization}}<br>
+<!--<b>Organization :</b> {{organization}}<br> -->
 <b>Authority hrn:</b> {{authority_hrn}}<br>
 <b>Public key   :</b> {{public_key}}<br>
 <b>Email        :</b> {{email}}<br>
 <b>User hrn     :</b> {{user_hrn}}<br>
 <b>Portal url  :</b> {{ current_site }}<br>
 <p></p>
-<p>You can validate the user <a href="{{current_site}}/portal/validate">here</a>.<p>
-<br>
-<p>Please note that the validation request will only become visible once the user has confirmed his/her email address.</p>
+<p>You can see new user request <a href="{{current_site}}/portal/institution#requests">in the portal.</a><p>
+
+{% include theme|add:"_widget-user_request_email.html" %}
+
+<p>Yours sincerely,</p>        
+<p>The {{theme.label}} team</p>
index 17ce184..af60991 100644 (file)
@@ -1,14 +1,18 @@
 NEW USER REQUEST
 
+You are receiving this request because we have you listed as a manager at an organization that uses {{theme.label}}. 
+If you believe that you have received this message in error, or if you have any questions, kindly contact support@{{theme.theme}}.eu.
+
 First name   : {{first_name}}
 Last name    : {{last_name}} 
-Organization :{{organization}}
 Authority hrn: {{authority_hrn}}
 Public key   : {{public_key}}
 Email        : {{email}}
 User hrn     : {{user_hrn}}
 Portal url   : {{ current_site }}
 
-Please note that the validation request will only become visible once the user has confirmed his/her email address.
+You can see new user request in the portal: {{current_site}}/portal/institution#requests
 
 
+Yours sincerely,      
+The {{theme.label}} team