Make the summary row reusable and filterable based on the attendee type. This gives us the possibility to have separate summaries for people/groups and resources/rooms. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/671>
27 lines
469 B
Plaintext
27 lines
469 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $GcalAttendeeSummaryRow: Adw.ActionRow {
|
|
visible: bind template.filtered-list as <Gtk.FilterListModel>.n-items;
|
|
activatable-widget: open_details;
|
|
|
|
styles [
|
|
"property",
|
|
]
|
|
|
|
[suffix]
|
|
Label {
|
|
valign: center;
|
|
label: bind template.filtered-list as <Gtk.FilterListModel>.n-items;
|
|
|
|
styles [
|
|
"participants-count-label",
|
|
]
|
|
}
|
|
|
|
[suffix]
|
|
Image open_details {
|
|
icon-name: "go-next-symbolic";
|
|
}
|
|
}
|