Include PTL E-mail address in rendered team pages
Display each current PTL's tracked E-mail address next to their name and IRC nick. We've been tracking PTL contact E-mail addresses in the governance repository for many cycles, but not presenting them on the rendered https://governance.openstack.org/tc/projects/<team>.html team detail pages. The addresses themselves are far from secret and are already "published" in the YAML version of our projects list, so there's little to be gained by obscuring them from/in the HTML version. Change-Id: I55d0ea058f645e8ba91cfc186eee00488ddbedcb Story: #2001923 Task: #14450
This commit is contained in:
parent
150f5e09cf
commit
4b160f9213
@ -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>`__' % (
|
||||
|
Loading…
x
Reference in New Issue
Block a user