chore(manager): link email users to events

This commit is contained in:
Colin Darie 2023-01-10 01:07:18 +01:00
parent b9c1799e60
commit 1f51267b25
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
class Mailjet::API
def properly_configured?
[Mailjet.config.api_key, Mailjet.config.secret_key].all?(&:present?)
Mailjet.respond_to?(:config) && [Mailjet.config.api_key, Mailjet.config.secret_key].all?(&:present?)
end
# Get messages sent to a user through SendInBlue.

View file

@ -77,6 +77,8 @@
</p>
<% end %>
<%= link_to "Voir aussi les événements d'email", manager_email_events_path("search" => EmailEvent.pseudonymize_email(@user.email)) %>
<h2 style="font-size: 1.3em; margin: 24px 0 8px 0">Problèmes potentiel</h2>
<% if @user.confirmed? %>