From: Yasin Rahman Date: Thu, 7 May 2015 14:16:31 +0000 (+0200) Subject: Project emails: generic template works for both onelab and f4f X-Git-Tag: myslice-1.4~20 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=d1f391c7fe4c469679e060341d17bdc7570c40a5 Project emails: generic template works for both onelab and f4f --- diff --git a/portal/templates/fed4fire/fed4fire_project_request_validated.txt b/portal/templates/fed4fire/fed4fire_project_request_validated.txt deleted file mode 100644 index 559bbb5f..00000000 --- a/portal/templates/fed4fire/fed4fire_project_request_validated.txt +++ /dev/null @@ -1,15 +0,0 @@ -Dear Fed4FIRE user, - -You have recently requested a project in the Fed4FIRE portal. - -Project name : {{project_name}} -Authority : {{authority_hrn}} -Email : {{email}} -Purpose : {{purpose}} - -We are pleased to inform you that a manager from your institution has validated your project request on the Fed4FIRE portal. You can now create slices 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_project_request_denied.html b/portal/templates/project_request_denied.html similarity index 57% rename from portal/templates/fed4fire/fed4fire_project_request_denied.html rename to portal/templates/project_request_denied.html index 5c4916c8..33532fda 100644 --- a/portal/templates/fed4fire/fed4fire_project_request_denied.html +++ b/portal/templates/project_request_denied.html @@ -1,19 +1,19 @@ - +
-

Dear Fed4FIRE user,

+

Dear {{theme.label}} user,

-

You have recently requested a project in the Fed4FIRE portal.

+

You have recently requested a project in the {{theme}} portal.


Project name : {{project_name}}
Authority : {{authority_hrn}}
Email : {{email}}
-Purpose : {{purpose}}
+Purpose : {{purpose}}


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.

+

We wish you a fruitful user experience on {{{{theme.label}}}}.


Yours sincerely,

-

The Fed4FIRE team

+

The {{{{theme.label}}}} team

diff --git a/portal/templates/fed4fire/fed4fire_project_request_denied.txt b/portal/templates/project_request_denied.txt similarity index 67% rename from portal/templates/fed4fire/fed4fire_project_request_denied.txt rename to portal/templates/project_request_denied.txt index e5502d85..db95fc71 100644 --- a/portal/templates/fed4fire/fed4fire_project_request_denied.txt +++ b/portal/templates/project_request_denied.txt @@ -1,6 +1,6 @@ -Dear Fed4FIRE user, +Dear {{theme.label}} user, -You have recently requested a project in the Fed4FIRE portal. +You have recently requested a project in the {{theme.label}} portal. Project name : {{project_name}} Authority : {{authority_hrn}} @@ -9,8 +9,8 @@ Purpose : {{purpose}} 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. +We wish you a fruitful user experience on {{theme.label}}. Yours sincerely, -The Fed4FIRE team +The {{theme.label}} team diff --git a/portal/templates/fed4fire/fed4fire_project_request_email.html b/portal/templates/project_request_email.html similarity index 53% rename from portal/templates/fed4fire/fed4fire_project_request_email.html rename to portal/templates/project_request_email.html index c93ab40d..5422769e 100644 --- a/portal/templates/fed4fire/fed4fire_project_request_email.html +++ b/portal/templates/project_request_email.html @@ -1,21 +1,24 @@ - +

NEW PROJECT REQUEST


-

You are receiving this request because we have you listed as a manager at an organization that uses Fed4FIRE.

+

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 project.


Project name : {{project_name}}
Authority : {{authority_hrn}}
Email : {{email}}
-Purpose : {{purpose}}
-Portal url : {{current_site}}
+Purpose : {{purpose}}
+Portal url : {{current_site}}

You can see this new project request in the portal.

Please be sure that you know the user who is requesting this project, as you are responsible for his or her actions.

And kindly ensure that the stated experiment purpose is clear.

-

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.

+

{{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 contact@fed4fire.eu

- +

If you believe that you have received this message in error, or if you have any questions, kindly contact contact@{{theme.theme}}.eu

+
+

Yours sincerely,

+

The {{{{theme.label}}}} team

+{%# include theme|add:"_widget-email_footer.html" %} diff --git a/portal/templates/fed4fire/fed4fire_project_request_email.txt b/portal/templates/project_request_email.txt similarity index 68% rename from portal/templates/fed4fire/fed4fire_project_request_email.txt rename to portal/templates/project_request_email.txt index f38fd8c2..ab36c4cc 100644 --- a/portal/templates/fed4fire/fed4fire_project_request_email.txt +++ b/portal/templates/project_request_email.txt @@ -1,6 +1,6 @@ -NEW SLICE REQUEST +NEW PROJECT REQUEST -You are receiving this request because we have you listed as a manager at an organization that uses Fed4FIRE. +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. Project name : {{project_name}} @@ -14,7 +14,7 @@ You can see this new project request in: {{current_site}}/portal/institution#req Please be sure that you know the user who is requesting this project, as you are responsible for his or her actions. And kindly ensure that the stated experiment purpose is clear. -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. +{{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 contact@fed4fire.eu +If you believe that you have received this message in error, or if you have any questions, kindly contact contact@{{theme.theme}}.eu diff --git a/portal/templates/fed4fire/fed4fire_project_request_validated.html b/portal/templates/project_request_validated.html similarity index 50% rename from portal/templates/fed4fire/fed4fire_project_request_validated.html rename to portal/templates/project_request_validated.html index b8356dc2..c3bf7c01 100644 --- a/portal/templates/fed4fire/fed4fire_project_request_validated.html +++ b/portal/templates/project_request_validated.html @@ -1,8 +1,8 @@ - +
-

Dear Fed4FIRE user,

+

Dear {{theme.label}} user,

-

You have recently requested a project in the Fed4FIRE portal.

+

You have recently requested a project in the {{theme.label}} portal.


Project name : {{project_name}}
Authority : {{authority_hrn}}
@@ -10,13 +10,13 @@ Purpose : {{purpose}}

- We are pleased to inform you that a manager from your institution has validated your project request on the Fed4FIRE portal. + We are pleased to inform you that a manager from your institution has validated your project request on the {{theme.label}} portal. You can now create slices and start experimenting.

-

We wish you a fruitful user experience with the Fed4FIRE portal.

+

We wish you a fruitful user experience with the {{theme.label}} portal.

Yours sincerely,

-

The Fed4FIRE team

+

The {{theme.label}} team

diff --git a/portal/templates/project_request_validated.txt b/portal/templates/project_request_validated.txt new file mode 100644 index 00000000..7c8fb90d --- /dev/null +++ b/portal/templates/project_request_validated.txt @@ -0,0 +1,15 @@ +Dear {{theme.label}} user, + +You have recently requested a project in the {{theme.label}} portal. + +Project name : {{project_name}} +Authority : {{authority_hrn}} +Email : {{email}} +Purpose : {{purpose}} + +We are pleased to inform you that a manager from your institution has validated your project request on the {{theme.label}} portal. You can now create slices and start experimenting. + +We wish you a fruitful user experience with the {{theme.label}} portal. + +Yours sincerely, +The {{theme.label}} team diff --git a/portal/templates/fed4fire/fed4fire_projectrequest_view.html b/portal/templates/projectrequest_view.html similarity index 100% rename from portal/templates/fed4fire/fed4fire_projectrequest_view.html rename to portal/templates/projectrequest_view.html