Merge "Include PTL E-mail address in rendered team pages"

This commit is contained in:
Zuul 2018-06-18 13:39:46 +00:00 committed by Gerrit Code Review
commit 3c238ab25a
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ def _team_to_rst(name, info):
yield '=' * len(title)
yield ''
yield ':Home Page: ' + info.get('url', '')
ptl = info.get('ptl', {'name': '', 'irc': ''})
yield ':PTL: %(name)s (``%(irc)s``)' % ptl
ptl = info.get('ptl', {'name': '', 'irc': '', 'email': ''})
yield ':PTL: %(name)s (``%(irc)s``) <%(email)s>' % ptl
irc_channel = info.get('irc-channel')
if irc_channel:
yield ':IRC Channel: `#%s <%s%s>`__' % (