-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc25f77
commit d4460ef
Showing
9 changed files
with
76 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
{% load custom_tags %} | ||
{% load display_tags %} | ||
|
||
<div> | ||
{% for schedule in schedules_list.schedules %} | ||
church_id: {{ schedule.church_id }}<br> | ||
rrule: {{ schedule.rrule }}<br> | ||
duration_in_minutes: {{ schedule.duration_in_minutes }}<br> | ||
include_periods: {{ schedule.include_periods }}<br> | ||
exclude_periods: {{ schedule.exclude_periods }}<br> | ||
{% with events=schedule|get_schedule_item_events %} | ||
{% for event in events %} | ||
<p>{% display_event event %}</p> | ||
{% endfor %} | ||
{% endwith %} | ||
<br> | ||
{% endfor %} | ||
possible_by_appointment: {{ schedules_list.possible_by_appointment }}<br> | ||
is_related_to_mass: {{ schedules_list.is_related_to_mass }}<br> | ||
is_related_to_adoration: {{ schedules_list.is_related_to_adoration }}<br> | ||
is_related_to_permanence: {{ schedules_list.is_related_to_permanence }}<br> | ||
will_be_seasonal_events: {{ schedules_list.will_be_seasonal_events }}<br> | ||
</div> | ||
<div class="moderation-tabs"> | ||
<ul> | ||
<li><a href="#tabs-nice-display">Nice display</a></li> | ||
<li><a href="#tabs-raw-json">Raw JSON</a></li> | ||
</ul> | ||
<div id="tabs-nice-display"> | ||
{% for schedule in schedules_list.schedules %} | ||
church_id: {{ schedule.church_id }}<br> | ||
rrule: {{ schedule.rrule }}<br> | ||
duration_in_minutes: {{ schedule.duration_in_minutes }}<br> | ||
include_periods: {{ schedule.include_periods }}<br> | ||
exclude_periods: {{ schedule.exclude_periods }}<br> | ||
{% with events=schedule|get_schedule_item_events %} | ||
{% for event in events %} | ||
<p>{% display_event event %}</p> | ||
{% endfor %} | ||
{% endwith %} | ||
<br> | ||
{% endfor %} | ||
possible_by_appointment: {{ schedules_list.possible_by_appointment }}<br> | ||
is_related_to_mass: {{ schedules_list.is_related_to_mass }}<br> | ||
is_related_to_adoration: {{ schedules_list.is_related_to_adoration }}<br> | ||
is_related_to_permanence: {{ schedules_list.is_related_to_permanence }}<br> | ||
will_be_seasonal_events: {{ schedules_list.will_be_seasonal_events }}<br> | ||
</div> | ||
<div id="tabs-raw-json"> | ||
<pre>{{ schedules_list_json }}</pre> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Rencontrer un prêtre - Se confesser<br> | ||
Mardi<br> | ||
Samedi<br> | ||
18:00 - 19:00<br> | ||
10:00 - 12:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"input": { | ||
"church_desc_by_id": { | ||
"1": "Chapelle du Saint-Nom-de-J\u00e9sus Lyon", | ||
"2": "\u00c9glise du Saint-Nom-de-J\u00e9sus Lyon" | ||
}, | ||
"year": 2024 | ||
}, | ||
"output": { | ||
"schedules_list": { | ||
"schedules": [ | ||
{ | ||
"church_id": null, | ||
"rrule": "DTSTART:20240102T180000\nRRULE:FREQ=WEEKLY;BYDAY=TU", | ||
"duration_in_minutes": 60, | ||
"include_periods": [], | ||
"exclude_periods": [] | ||
}, | ||
{ | ||
"church_id": null, | ||
"rrule": "DTSTART:20240106T100000\nRRULE:FREQ=WEEKLY;BYDAY=SA", | ||
"duration_in_minutes": 120, | ||
"include_periods": [], | ||
"exclude_periods": [] | ||
} | ||
], | ||
"possible_by_appointment": false, | ||
"is_related_to_mass": false, | ||
"is_related_to_adoration": false, | ||
"is_related_to_permanence": false, | ||
"will_be_seasonal_events": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters