Skip to content

Commit

Permalink
rename invite->calendar, calendar is optional on dev_meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine committed Nov 13, 2023
1 parent b2b3a25 commit 58abe45
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions data/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ teams:
date: Every third Tuesday
time: 6:00 PM CET
link: https://meet.google.com/bwy-fyqo-dnf
invite: https://calendar.google.com/calendar/u/4?cid=Y19iMDA5ZDA4MDg0YzIwYWMzMDQ4NjJhN2FkZWJiYjdmOTU0NGIxYzEwMmU0MDMyMTAzMDFiY2ZhYjcwMDBmMjNlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
calendar: https://calendar.google.com/calendar/u/4?cid=Y19iMDA5ZDA4MDg0YzIwYWMzMDQ4NjJhN2FkZWJiYjdmOTU0NGIxYzEwMmU0MDMyMTAzMDFiY2ZhYjcwMDBmMjNlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
notes: https://github.com/ocaml-ppx/ppxlib/wiki
members:
- name: Sonja Heinze
Expand Down Expand Up @@ -504,7 +504,7 @@ working-groups:
date: Biweekly on Mondays
time: 10:00 AM BST
link: http://meet.google.com/byo-dfiz-dou
invite: https://calendar.google.com/calendar/u/4?cid=Y19iMDA5ZDA4MDg0YzIwYWMzMDQ4NjJhN2FkZWJiYjdmOTU0NGIxYzEwMmU0MDMyMTAzMDFiY2ZhYjcwMDBmMjNlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
calendar: https://calendar.google.com/calendar/u/4?cid=Y19iMDA5ZDA4MDg0YzIwYWMzMDQ4NjJhN2FkZWJiYjdmOTU0NGIxYzEwMmU0MDMyMTAzMDFiY2ZhYjcwMDBmMjNlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
notes: https://docs.google.com/document/d/1ZBfbjAkvEkv9ldumpZV5VXrEc_HpPeYjHPW_TiwJe4Q/
members:
- name: Sudha Parimala
Expand Down Expand Up @@ -541,7 +541,7 @@ working-groups:
date: Biweekly on Mondays
time: 18:00 CET
link: https://us06web.zoom.us/j/86793886593?pwd=cXFMN201dGY0b0w3VDZoTXV1MUlMdz09
invite: https://calendar.google.com/calendar/u/0?cid=Y18wMmU0MWIyYWQwMDE2NWI0MDQ3ODlmYWQ3YzVkZjdlYTNhNGFlNjI3NDRjMTMzMDdlZTdmYjNmZDczODJmMWRkQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
calendar: https://calendar.google.com/calendar/u/0?cid=Y18wMmU0MWIyYWQwMDE2NWI0MDQ3ODlmYWQ3YzVkZjdlYTNhNGFlNjI3NDRjMTMzMDdlZTdmYjNmZDczODJmMWRkQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20
notes: https://docs.google.com/document/d/1ricnsicOB35TmuOM86guYr6HWo8A1iyVrHdb0cNxOXg/edit
members:
- name: Sabine Schmaltz
Expand Down
2 changes: 1 addition & 1 deletion src/ocamlorg_data/data.mli
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ module Governance : sig
date : string;
time : string;
link : string;
invite : string;
calendar : string option;
notes : string;
}

Expand Down
4 changes: 3 additions & 1 deletion src/ocamlorg_frontend/pages/governance_team.eml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ let render_dev_meeting (dev_meeting : Data.Governance.dev_meeting) _class =
<%s! Icons.community "w-6 h-6" %>
Meeting Link
</a>
<a class="underline flex gap-1 py-2 font-semibold" href="<%s dev_meeting.invite %>">
<% match dev_meeting.calendar with | None -> () | Some calendar -> %>
<a class="underline flex gap-1 py-2 font-semibold" href="<%s calendar %>">
<%s! Icons.calendar "w-6 h-6" %>
Calendar Invite
</a>
<% ; %>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions tool/ood-gen/lib/governance.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type dev_meeting = {
date : string;
time : string;
link : string;
invite : string;
calendar : string option;
notes : string;
}
[@@deriving yaml, show { with_path = false }]
Expand Down Expand Up @@ -89,7 +89,7 @@ type dev_meeting = {
date : string;
time : string;
link : string;
invite : string;
calendar : string option;
notes : string;
}

Expand Down

0 comments on commit 58abe45

Please sign in to comment.