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>
This commit is contained in:
parent
6e50a8496f
commit
68ebab8388
|
@ -74,7 +74,7 @@ use in your favorite calendaring app:</p>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% for schedule in meeting.schedules %}
|
{% for schedule in meeting.schedules %}
|
||||||
<div><span class="glyphicon glyphicon-time"></span>
|
<div><span class="glyphicon glyphicon-time"></span>
|
||||||
{{ 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}}"
|
<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] }}&min={{ schedule.utc[2:] }}&sec=0"
|
href="http://www.timeanddate.com/worldclock/fixedtime.html?hour={{ schedule.utc[:2] }}&min={{ schedule.utc[2:] }}&sec=0"
|
||||||
class="timelink">
|
class="timelink">
|
||||||
|
|
|
@ -2,4 +2,4 @@ hacking<0.11,>=0.10.0
|
||||||
pytz>=2013.6 # MIT
|
pytz>=2013.6 # MIT
|
||||||
PyYAML>=3.1.0 # MIT
|
PyYAML>=3.1.0 # MIT
|
||||||
requests>=2.10.0 # Apache-2.0
|
requests>=2.10.0 # Apache-2.0
|
||||||
yaml2ical>=0.9.0
|
yaml2ical>=0.10.0
|
||||||
|
|
Loading…
Reference in New Issue