diff --git a/publichealth/home/models/snippets.py b/publichealth/home/models/snippets.py index f5afa30..8898e46 100644 --- a/publichealth/home/models/snippets.py +++ b/publichealth/home/models/snippets.py @@ -38,5 +38,9 @@ class Contact(models.Model): return 'mailto:%s' % self.email def www_domain(self): return self.www.replace('http://', '').replace('https://', '') + def trans_title_styled(self): + v = self.trans_title + if len(v) != 3: return v + return "%s %s %s" % tuple(v) def __str__(self): return self.trans_title diff --git a/publichealth/templates/header.html b/publichealth/templates/header.html index 4125c9d..306a435 100644 --- a/publichealth/templates/header.html +++ b/publichealth/templates/header.html @@ -6,12 +6,12 @@
{% block menu %}