Do not mention Extra ATCs if there are none
Skip the Extra ATC title on project team pages if there is no extra-atc specified in the data. Change-Id: I9ac0268782b92b43ee8c45657bebcc33551c06c5
This commit is contained in:
parent
54ddcfc997
commit
740fd6d6d2
|
@ -91,11 +91,12 @@ def _team_to_rst(name, info):
|
|||
else:
|
||||
yield 'None'
|
||||
yield ''
|
||||
yield 'Extra ATCs'
|
||||
yield '-----------'
|
||||
yield '.. extraatcstable::'
|
||||
yield ' :project: %s' % name
|
||||
yield ''
|
||||
if info.get('extra-atcs', []):
|
||||
yield 'Extra ATCs'
|
||||
yield '-----------'
|
||||
yield '.. extraatcstable::'
|
||||
yield ' :project: %s' % name
|
||||
yield ''
|
||||
|
||||
|
||||
def _write_team_pages():
|
||||
|
|
Loading…
Reference in New Issue