fnp
/
cas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add services page.
[cas.git]
/
src
/
emails
/
views.py
diff --git
a/src/emails/views.py
b/src/emails/views.py
index
5c40218
..
dc89aaa
100644
(file)
--- a/
src/emails/views.py
+++ b/
src/emails/views.py
@@
-9,6
+9,7
@@
from . import BASE_DOMAINS
def my_aliases(request, user=None):
user = user or request.user
return render(request, 'emails/my_aliases.html', {
def my_aliases(request, user=None):
user = user or request.user
return render(request, 'emails/my_aliases.html', {
+ 'user': user,
'base': ['{}@{}'.format(user.username, dom) for dom in BASE_DOMAINS],
'from_me': Alias.get_from_user(user),
})
'base': ['{}@{}'.format(user.username, dom) for dom in BASE_DOMAINS],
'from_me': Alias.get_from_user(user),
})