From ca6bbcbf14aa1ea26cbdcb4d3c0d2cbb748a0b7f Mon Sep 17 00:00:00 2001 From: Yasin Rahman Date: Tue, 12 May 2015 15:14:15 +0200 Subject: [PATCH] Generic Templates for all folders: Migration & Modifs --- portal/templates/join_request_denied.html | 18 +++++++++++++++++ portal/templates/join_request_denied.txt | 15 ++++++++++++++ portal/templates/join_request_email.html | 18 +++++++++++++++++ portal/templates/join_request_email.txt | 19 ++++++++++++++++++ portal/templates/join_request_validated.html | 20 +++++++++++++++++++ portal/templates/join_request_validated.txt | 14 +++++++++++++ .../onelab/onelab__contact_support_email.html | 9 +++++++++ .../onelab/onelab__contact_support_email.txt | 7 +++++++ .../onelab__contact_support_email_subject.txt | 1 + .../onelab/onelab_widget-email_footer.html | 6 ++++++ .../onelab_widget-user_request_email.html | 3 +++ 11 files changed, 130 insertions(+) create mode 100644 portal/templates/join_request_denied.html create mode 100644 portal/templates/join_request_denied.txt create mode 100644 portal/templates/join_request_email.html create mode 100644 portal/templates/join_request_email.txt create mode 100644 portal/templates/join_request_validated.html create mode 100644 portal/templates/join_request_validated.txt create mode 100644 portal/templates/onelab/onelab__contact_support_email.html create mode 100644 portal/templates/onelab/onelab__contact_support_email.txt create mode 100644 portal/templates/onelab/onelab__contact_support_email_subject.txt create mode 100644 portal/templates/onelab/onelab_widget-email_footer.html create mode 100644 portal/templates/onelab/onelab_widget-user_request_email.html diff --git a/portal/templates/join_request_denied.html b/portal/templates/join_request_denied.html new file mode 100644 index 00000000..1d6db002 --- /dev/null +++ b/portal/templates/join_request_denied.html @@ -0,0 +1,18 @@ + +
+

Dear {{theme.label}} user,

+

+

You have recently requested to join a project in the {{theme.label}} 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 {{theme.label}}.

+
+

Yours sincerely,

+

The {{theme.label}} team

diff --git a/portal/templates/join_request_denied.txt b/portal/templates/join_request_denied.txt new file mode 100644 index 00000000..3c34475f --- /dev/null +++ b/portal/templates/join_request_denied.txt @@ -0,0 +1,15 @@ +Dear {{theme.label}} user, + +You have recently requested to join a project in the {{theme.label}} 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 {{theme.label}}. + +Yours sincerely, +The {{theme.label}} team + diff --git a/portal/templates/join_request_email.html b/portal/templates/join_request_email.html new file mode 100644 index 00000000..37732d96 --- /dev/null +++ b/portal/templates/join_request_email.html @@ -0,0 +1,18 @@ + +
+

JOIN PROJECT REQUEST

+
+

You are receiving this request because we have you listed as a manager of a project that uses {{theme.label}}.

+

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 this request in the portal.

+

Please be sure that you know the user who is requesting to join your project.

+

{{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@{{theme.theme}}.eu

+ + diff --git a/portal/templates/join_request_email.txt b/portal/templates/join_request_email.txt new file mode 100644 index 00000000..e0b95a57 --- /dev/null +++ b/portal/templates/join_request_email.txt @@ -0,0 +1,19 @@ +JOIN PROJECT REQUEST + +You are receiving this request because we have you listed as a manager a project that uses {{theme.label}}. +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. + +{{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@{{theme.theme}}.eu + diff --git a/portal/templates/join_request_validated.html b/portal/templates/join_request_validated.html new file mode 100644 index 00000000..f630fc3f --- /dev/null +++ b/portal/templates/join_request_validated.html @@ -0,0 +1,20 @@ + +
+

Dear {{theme.label}} user,

+

+

You have recently requested to join a project in the {{theme.label}} 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 {{theme.label}} 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 {{theme.label}} portal.

+

+

Yours sincerely,

+

The {{theme.label}} team

+ + diff --git a/portal/templates/join_request_validated.txt b/portal/templates/join_request_validated.txt new file mode 100644 index 00000000..25e30693 --- /dev/null +++ b/portal/templates/join_request_validated.txt @@ -0,0 +1,14 @@ +Dear {{theme.label}} user, + +You have recently requested to join a project in the {{theme.label}} 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 {{theme.label}} 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 {{theme.label}} portal. + +Yours sincerely, +The {{theme.label}} team diff --git a/portal/templates/onelab/onelab__contact_support_email.html b/portal/templates/onelab/onelab__contact_support_email.html new file mode 100644 index 00000000..61fb1449 --- /dev/null +++ b/portal/templates/onelab/onelab__contact_support_email.html @@ -0,0 +1,9 @@ + +
+Email : {{email}} + +

Query details

+ +Subject : {{subject}} +Query : {{description}} + diff --git a/portal/templates/onelab/onelab__contact_support_email.txt b/portal/templates/onelab/onelab__contact_support_email.txt new file mode 100644 index 00000000..645f327f --- /dev/null +++ b/portal/templates/onelab/onelab__contact_support_email.txt @@ -0,0 +1,7 @@ +email : {{email}} + +Query Details: + +Subject : {{subject}} +Description : {{description}} + diff --git a/portal/templates/onelab/onelab__contact_support_email_subject.txt b/portal/templates/onelab/onelab__contact_support_email_subject.txt new file mode 100644 index 00000000..8020a04d --- /dev/null +++ b/portal/templates/onelab/onelab__contact_support_email_subject.txt @@ -0,0 +1 @@ +OneLab support: {{email}} submitted a query. diff --git a/portal/templates/onelab/onelab_widget-email_footer.html b/portal/templates/onelab/onelab_widget-email_footer.html new file mode 100644 index 00000000..dfb7557e --- /dev/null +++ b/portal/templates/onelab/onelab_widget-email_footer.html @@ -0,0 +1,6 @@ +

+

Yours sincerely,

+ +

Timur Friedman

+

Executive Director

+ diff --git a/portal/templates/onelab/onelab_widget-user_request_email.html b/portal/templates/onelab/onelab_widget-user_request_email.html new file mode 100644 index 00000000..b3808856 --- /dev/null +++ b/portal/templates/onelab/onelab_widget-user_request_email.html @@ -0,0 +1,3 @@ +

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.

-- 2.43.0