Replace hyphens with underscores for meeting_id

Update the YAML files to use underscores instead of hyphens for the
'meeting_id' field.

Also handle 'meeting_id' fields with hyphens by converting them to
underscores when generating the URL to the Logs. This will handle
possible future commits where a 'meeting_id' is added with a hyphen.

Change-Id: I7f6574c282e3bcf06c7916334a10332ef8d0cbae
This commit is contained in:
John L. Villalovos 2015-11-04 09:41:02 -08:00
parent 06126e2b03
commit a007531ce2
4 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ meeting</div>
Chair (to contact for more information): {{ meeting.chair }}</div> Chair (to contact for more information): {{ meeting.chair }}</div>
{% if meeting.extras.meeting_id %} {% if meeting.extras.meeting_id %}
<div><span class="glyphicon glyphicon-fast-backward"></span>&nbsp; <div><span class="glyphicon glyphicon-fast-backward"></span>&nbsp;
Logs from <a href="http://eavesdrop.openstack.org/meetings/{{meeting.extras.meeting_id}}/">past meetings</a></div> Logs from <a href="http://eavesdrop.openstack.org/meetings/{{meeting.extras.meeting_id|replace('-', '_')}}/">past meetings</a></div>
{% endif %} {% endif %}
{% if meeting.extras.agenda_url %} {% if meeting.extras.agenda_url %}
<div><span class="glyphicon glyphicon-list-alt"></span>&nbsp; <div><span class="glyphicon glyphicon-list-alt"></span>&nbsp;

View File

@ -1,5 +1,5 @@
project: Container Networking Team Meeting project: Container Networking Team Meeting
meeting_id: container-networking meeting_id: container_networking
agenda_url: https://wiki.openstack.org/w/index.php?title=Meetings/Containers agenda_url: https://wiki.openstack.org/w/index.php?title=Meetings/Containers
schedule: schedule:
- time: '1800' - time: '1800'

View File

@ -6,7 +6,7 @@ schedule:
frequency: weekly frequency: weekly
chair: John L. Villalovos chair: John L. Villalovos
agenda_url: https://wiki.openstack.org/wiki/Meetings/Ironic-QA agenda_url: https://wiki.openstack.org/wiki/Meetings/Ironic-QA
meeting_id: ironic-qa meeting_id: ironic_qa
description: > description: >
If you're interested in QA, testing, or 3rd party CI for Ironic, please join If you're interested in QA, testing, or 3rd party CI for Ironic, please join
us. This meeting is where we'll talk about QA, testing, and 3rd party CI as us. This meeting is where we'll talk about QA, testing, and 3rd party CI as

View File

@ -1,5 +1,5 @@
project: Nova Notification Meeting project: Nova Notification Meeting
meeting_id: nova-notification meeting_id: nova_notification
agenda_url: https://wiki.openstack.org/wiki/Meetings/NovaNotification agenda_url: https://wiki.openstack.org/wiki/Meetings/NovaNotification
schedule: schedule:
- time: '2000' - time: '2000'