note con l'asterisco sono più riconoscibili
parent
5cf41f5d53
commit
908fd8bba7
|
|
@ -75,7 +75,7 @@ class Telefono(VoceContattoRubrica):
|
|||
else:
|
||||
tel = str(self.numero)
|
||||
if self.note:
|
||||
tel += ' (!)'
|
||||
tel += ' (*)'
|
||||
return tel
|
||||
|
||||
numero = models.CharField(null=False,blank=False,max_length=20)
|
||||
|
|
@ -91,7 +91,7 @@ class Email(VoceContattoRubrica):
|
|||
def __str__(self):
|
||||
eml = self.indirizzo_email
|
||||
if self.note:
|
||||
eml += ' (!)'
|
||||
eml += ' (*)'
|
||||
return eml
|
||||
|
||||
indirizzo_email = models.EmailField(null=False,blank=False,max_length=254)
|
||||
|
|
@ -106,7 +106,7 @@ class Pec(Email):
|
|||
def __str__(self):
|
||||
eml = self.indirizzo_email
|
||||
if self.note:
|
||||
eml += ' (!)'
|
||||
eml += ' (*)'
|
||||
return eml
|
||||
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ class Fax(VoceContattoRubrica):
|
|||
def __str__(self):
|
||||
out = self.numero
|
||||
if self.note:
|
||||
out += ' (!)'
|
||||
out += ' (*)'
|
||||
return out.strip()
|
||||
|
||||
numero = models.CharField(null=False,blank=False, max_length=20)
|
||||
|
|
|
|||
Loading…
Reference in New Issue