From: Loic Baron <loic.baron@lip6.fr>
Date: Wed, 1 Jul 2015 07:13:25 +0000 (+0200)
Subject: Logos in email templates
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6729d2c8cd440a8c9c2be285e411ef78a7735cfd;p=unfold.git

Logos in email templates
---

diff --git a/portal/templates/authority_request_email.html b/portal/templates/authority_request_email.html
index 64bf9812..1dede4fe 100644
--- a/portal/templates/authority_request_email.html
+++ b/portal/templates/authority_request_email.html
@@ -1,4 +1,4 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}" width="80px">
 <br>
 <h1>NEW AUTHORITY REQUEST</h1>
 <br>
diff --git a/portal/templates/user_request_validated.html b/portal/templates/user_request_validated.html
index 8821b66d..daba5b61 100644
--- a/portal/templates/user_request_validated.html
+++ b/portal/templates/user_request_validated.html
@@ -1,4 +1,4 @@
-<img src="https://onelab.eu/static/images/onelab.png">
+<img src="{{current_site}}/static/img/{{theme.logo}}" width="80px">
 <br>
 <p>Dear {{first_name}} {{last_name}},</p>
 <p></p>