From 27ab5fc89612bf079256ab470a590813ce63455c Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 25 Jan 2025 09:14:12 +0000 Subject: [PATCH] Add copyright notice --- app/views/layouts/mailer.html.erb | 2 ++ app/views/layouts/mailer.text.erb | 2 ++ app/views/users/mailer/confirmation_instructions.html.erb | 2 ++ app/views/users/mailer/email_changed.html.erb | 2 ++ app/views/users/mailer/password_change.html.erb | 2 ++ app/views/users/mailer/reset_password_instructions.html.erb | 2 ++ app/views/users/mailer/unlock_instructions.html.erb | 2 ++ 7 files changed, 14 insertions(+) diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index 3aac900..32b0c16 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> + diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb index 37f0bdd..9bdce1a 100644 --- a/app/views/layouts/mailer.text.erb +++ b/app/views/layouts/mailer.text.erb @@ -1 +1,3 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> + <%= yield %> diff --git a/app/views/users/mailer/confirmation_instructions.html.erb b/app/views/users/mailer/confirmation_instructions.html.erb index 7b71e44..cd3b2f1 100644 --- a/app/views/users/mailer/confirmation_instructions.html.erb +++ b/app/views/users/mailer/confirmation_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +

Welcome <%= @email %>!

You can confirm your account email through the link below:

diff --git a/app/views/users/mailer/email_changed.html.erb b/app/views/users/mailer/email_changed.html.erb index 32f4ba8..f5f2998 100644 --- a/app/views/users/mailer/email_changed.html.erb +++ b/app/views/users/mailer/email_changed.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +

Hello <%= @email %>!

<% if @resource.try(:unconfirmed_email?) %> diff --git a/app/views/users/mailer/password_change.html.erb b/app/views/users/mailer/password_change.html.erb index b41daf4..1181727 100644 --- a/app/views/users/mailer/password_change.html.erb +++ b/app/views/users/mailer/password_change.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +

Hello <%= @resource.email %>!

We're contacting you to notify you that your password has been changed.

diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb index 010a079..95bc588 100644 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ b/app/views/users/mailer/reset_password_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +

Hello <%= @resource.email %>!

Someone has requested a link to change your password. You can do this through the link below.

diff --git a/app/views/users/mailer/unlock_instructions.html.erb b/app/views/users/mailer/unlock_instructions.html.erb index 313fe8e..3efb341 100644 --- a/app/views/users/mailer/unlock_instructions.html.erb +++ b/app/views/users/mailer/unlock_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +

Hello <%= @resource.email %>!

Your account has been locked due to an excessive number of unsuccessful sign in attempts.