From cb152e00a7c6e822e84b5f705bf44eaa5665040d Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Tue, 13 Mar 2018 16:01:24 +0100
Subject: [PATCH] Add brandable URL to notification mail

Fixes issue #7.
---
 config.example.py        | 1 +
 templates/nomination.txt | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/config.example.py b/config.example.py
index c70cb9f..ed21771 100644
--- a/config.example.py
+++ b/config.example.py
@@ -21,6 +21,7 @@ AD_GROUP_DN = 'cn=users,dc=example,dc=com'
 AD_CA_CERT = ''
 
 BRANDING_APP_NAME = 'Lehrpreis WebApp'
+BRANDING_APP_URL = 'https://lehrpreis.example.com'
 BRANDING_ORG_NAME = 'Example Oragnization'
 BRANDING_CONTACT = 'it@example-organisation.com'
 
diff --git a/templates/nomination.txt b/templates/nomination.txt
index 3ae7627..c481f9e 100644
--- a/templates/nomination.txt
+++ b/templates/nomination.txt
@@ -4,6 +4,9 @@ Person: {{ nom.person }}
 Modul:  {{ nom.module }}
 Grund:  {{ nom.reason }}
 
+Du kannst alle Nominierungen unter folgender URL einsehen:
+{{ config.BRANDING_APP_URL }}
+
 Viele Grüße,
 {{ config.BRANDING_APP_NAME }}
 
-- 
GitLab