From a6de767f02153b46d964d551f10bc9561aa28d0c Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Thu, 23 Jul 2020 17:16:58 -0400 Subject: Make static OPNFV references dynamic Change-Id: I3830a30a927834b642052643d94c39a9faec4d54 Signed-off-by: Sean Smith --- src/templates/base/notifier/email_ended.txt | 6 +++--- src/templates/base/notifier/email_expiring.txt | 6 +++--- src/templates/base/notifier/email_fulfilled.txt | 4 ++-- src/templates/base/notifier/end_booking.html | 6 +++--- src/templates/base/notifier/expiring_booking.html | 2 +- src/templates/base/notifier/new_booking.html | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/templates') diff --git a/src/templates/base/notifier/email_ended.txt b/src/templates/base/notifier/email_ended.txt index 1788e00..33a1ec5 100644 --- a/src/templates/base/notifier/email_ended.txt +++ b/src/templates/base/notifier/email_ended.txt @@ -1,9 +1,9 @@ {{user_name|default:"Developer"}}, {% if owner %} -The booking you requested from the OPNFV Lab as a Service has ended. +The booking you requested from the {{booking.lab.project}} Lab has ended. {% else %} -The booking you collaborated on at the OPNFV Lab as a Service has ended. +The booking you collaborated on at the {{booking.lab.project}} Lab has ended. {% endif %} booking information: @@ -20,6 +20,6 @@ You may visit the following link for more information: Feel free to create another booking with us! -Thank you for contributing to the OPNFV platform! +Thank you for contributing to the {{booking.lab.project}} platform! - The Lab-as-a-Service team diff --git a/src/templates/base/notifier/email_expiring.txt b/src/templates/base/notifier/email_expiring.txt index 72c9a83..d78e59f 100644 --- a/src/templates/base/notifier/email_expiring.txt +++ b/src/templates/base/notifier/email_expiring.txt @@ -1,9 +1,9 @@ {{user_name|default:"Developer"}}, {% if owner %} -The booking you requested from the OPNFV Lab as a Service is about to expire. +The booking you requested from the {{booking.lab.project}} lab is about to expire. {% else %} -The booking you collaborate on at the OPNFV Lab as a Service is about to expire. +The booking you collaborate on at the {{booking.lab.project}} lab is about to expire. {% endif %} booking information: @@ -20,6 +20,6 @@ You may visit the following link for more information: Please take the time to backup all data or extend the booking if needed. -Thank you for contributing to the OPNFV platform! +Thank you for contributing to the {{booking.lab.project}} platform! - The Lab-as-a-Service team diff --git a/src/templates/base/notifier/email_fulfilled.txt b/src/templates/base/notifier/email_fulfilled.txt index 90d294a..e3e07f9 100644 --- a/src/templates/base/notifier/email_fulfilled.txt +++ b/src/templates/base/notifier/email_fulfilled.txt @@ -1,7 +1,7 @@ {{user_name|default:"Developer"}}, {% if owner %} -The booking you requested of the OPNFV Lab as a Service has finished deploying and is ready for you to use. +The booking you requested of the {{booking.lab.project}} lab has finished deploying and is ready for you to use. {% else %} A booking you collaborate on is ready for you to use {% endif %} @@ -16,6 +16,6 @@ The lab that fulfilled your booking request has sent you the following messages: You may visit the following link for more information: {{booking_url}} -Thank you for contributing to the OPNFV platform! +Thank you for contributing to the {{booking.lab.project}} platform! - The Lab-as-a-Service team diff --git a/src/templates/base/notifier/end_booking.html b/src/templates/base/notifier/end_booking.html index a2981c1..ebad027 100644 --- a/src/templates/base/notifier/end_booking.html +++ b/src/templates/base/notifier/end_booking.html @@ -4,11 +4,11 @@ {% if owner %}

Your booking has expired

Your booking has ended and the machines have been cleaned up.

-

Thank you for working on OPNFV, and feel free to book more machines if you need them.

+

Thank you for working on {{booking.lab.project}}, and feel free to book more machines if you need them.

{% else %}

A booking that you collaborated on has expired

The booking owned by {{booking.owner.username}} that you worked on has ended

-

Thank you for contributing to OPNFV!

+

Thank you for contributing to {{booking.lab.project}}.

{% endif %}

Booking information: