diff --git a/templates/base.html b/templates/base.html index 3755e1c2..85457292 100644 --- a/templates/base.html +++ b/templates/base.html @@ -130,8 +130,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} -
  • - {% trans "About" %} +
  • {% if not request.user.is_authenticated %} {% if var_sa %} diff --git a/users/models.py b/users/models.py index 20f640a4..4e1f4202 100644 --- a/users/models.py +++ b/users/models.py @@ -1649,6 +1649,10 @@ class MailAlias(RevMixin, AclMixin, models.Model): ) def __str__(self): + return self.complete_mail + + @cached_property + def complete_mail(self): return self.valeur + OptionalUser.get_cached_value('mail_extension') @staticmethod