use name attribute as title for decheterie/donnerie pages
This commit is contained in:
parent
dcbfb807a1
commit
2946e979fa
|
@ -51,9 +51,9 @@ class Command(BaseCommand):
|
|||
except ConfigJsonCell.DoesNotExist:
|
||||
page = Page()
|
||||
if layer.slug == 'decheterie':
|
||||
page.title = u'Déchèterie %s' % feature['properties']['address']['addressLocality']
|
||||
page.title = u'Déchèterie %s' % feature['properties']['nom']
|
||||
elif layer.slug == 'donnerie':
|
||||
page.title = u'Donnerie %s' % feature['properties']['address']['addressLocality']
|
||||
page.title = u'Donnerie %s' % feature['properties']['nom']
|
||||
elif layer.slug == 'taxi':
|
||||
page.title = u'Station de taxi %s' % feature['properties']['adresse']
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue