mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
fichiers oubliés
This commit is contained in:
parent
115c91caad
commit
8d86feab0f
2 changed files with 10 additions and 2 deletions
|
@ -130,8 +130,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
</a>
|
||||
</li>
|
||||
{% acl_end %}
|
||||
<li>
|
||||
<a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> {% trans "About" %}</a>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fas fa-info"></i> {% trans "Info" %}<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> {% trans "About" %}</a></li>
|
||||
<li><a href="{% url 'contact' %}"><i class="fas fa-at"></i> {% trans "Contact" %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% if not request.user.is_authenticated %}
|
||||
{% if var_sa %}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue