Browse Source

add day_specifier from recurrence

If the recurrence knows how to give us a "day specifier" such as "the
first" then include that in the output from the template.

Depends-On: https://review.openstack.org/615268
Change-Id: I89cf1eb243e2b35ce7bf426dae7939bbcb78aa3c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/70/615270/3
Doug Hellmann 1 year ago
parent
commit
68ebab8388
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      meetingindex.jinja
  2. +1
    -1
      test-requirements.txt

+ 1
- 1
meetingindex.jinja View File

@@ -74,7 +74,7 @@ use in your favorite calendaring app:</p>
<div class="panel-body">
{% for schedule in meeting.schedules %}
<div><span class="glyphicon glyphicon-time"></span>&nbsp;
{{ schedule.recurrence }} on {{ schedule.day }} at
{{ schedule.recurrence }} on {% if schedule.recurrence.day_specifier %}{{ schedule.recurrence.day_specifier }} {% endif %}{{ schedule.day }} at
<a data-toggle="tooltip" data-placement="top" title="NotFilledInYet" utctime="{{schedule.utc}}" weekday="{{schedule.day}}"
href="http://www.timeanddate.com/worldclock/fixedtime.html?hour={{ schedule.utc[:2] }}&amp;min={{ schedule.utc[2:] }}&amp;sec=0"
class="timelink">

+ 1
- 1
test-requirements.txt View File

@@ -2,4 +2,4 @@ hacking<0.11,>=0.10.0
pytz>=2013.6 # MIT
PyYAML>=3.1.0 # MIT
requests>=2.10.0 # Apache-2.0
yaml2ical>=0.9.0
yaml2ical>=0.10.0

Loading…
Cancel
Save