From 21765da5d86c0c20f785523ac5839c14e89f1237 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 5 Apr 2019 14:43:02 +0200 Subject: [PATCH 1/1] Alias management. --- src/accounts/templates/account/base.html | 6 +++- src/cas/urls.py | 1 + src/emails/__init__.py | 4 +++ src/emails/models.py | 12 ++++++++ src/emails/templates/emails/base.html | 8 ++++++ src/emails/templates/emails/list_aliases.html | 13 +++++++++ src/emails/templates/emails/my_aliases.html | 28 +++++++++++++++++++ src/emails/templatetags/__init__.py | 0 src/emails/templatetags/emails.py | 24 ++++++++++++++++ src/emails/urls.py | 7 +++++ src/emails/views.py | 13 +++++++++ src/services/templatetags/services.py | 2 +- 12 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 src/emails/templates/emails/base.html create mode 100644 src/emails/templates/emails/list_aliases.html create mode 100644 src/emails/templates/emails/my_aliases.html create mode 100644 src/emails/templatetags/__init__.py create mode 100644 src/emails/templatetags/emails.py create mode 100644 src/emails/urls.py create mode 100644 src/emails/views.py diff --git a/src/accounts/templates/account/base.html b/src/accounts/templates/account/base.html index 9cdc8ee..0b7cd3c 100644 --- a/src/accounts/templates/account/base.html +++ b/src/accounts/templates/account/base.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load gravatar i18n %} {% load use_ssh from services %} +{% load use_email from emails %} {% block content %}