feat: Agenda proposed badge (#8164)
This commit is contained in:
parent
b65a37b6e8
commit
c89646ef8d
|
@ -83,6 +83,14 @@
|
||||||
template(#trigger)
|
template(#trigger)
|
||||||
span.badge.is-bof BoF
|
span.badge.is-bof BoF
|
||||||
span #[a(href='https://www.ietf.org/how/bofs/', target='_blank') Birds of a Feather] sessions (BoFs) are initial discussions about a particular topic of interest to the IETF community.
|
span #[a(href='https://www.ietf.org/how/bofs/', target='_blank') Birds of a Feather] sessions (BoFs) are initial discussions about a particular topic of interest to the IETF community.
|
||||||
|
n-popover(
|
||||||
|
v-if='item.isProposed'
|
||||||
|
trigger='hover'
|
||||||
|
:width='250'
|
||||||
|
)
|
||||||
|
template(#trigger)
|
||||||
|
span.badge.is-proposed Proposed
|
||||||
|
span #[a(href='https://www.ietf.org/process/wgs/', target='_blank') Proposed WGs] are groups in the process of being chartered. If the charter is not approved by the IESG before the IETF meeting, the session may be canceled.
|
||||||
.agenda-table-note(v-if='item.note')
|
.agenda-table-note(v-if='item.note')
|
||||||
i.bi.bi-arrow-return-right.me-1
|
i.bi.bi-arrow-return-right.me-1
|
||||||
span {{item.note}}
|
span {{item.note}}
|
||||||
|
@ -468,6 +476,7 @@ const meetingEvents = computed(() => {
|
||||||
// groupParentName: item.groupParent?.name,
|
// groupParentName: item.groupParent?.name,
|
||||||
icon,
|
icon,
|
||||||
isBoF: item.isBoF,
|
isBoF: item.isBoF,
|
||||||
|
isProposed: item.isProposed,
|
||||||
isSessionEvent: item.type === 'regular',
|
isSessionEvent: item.type === 'regular',
|
||||||
links,
|
links,
|
||||||
location: item.location,
|
location: item.location,
|
||||||
|
@ -1012,10 +1021,25 @@ onBeforeUnmount(() => {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge.is-bof {
|
.badge {
|
||||||
background-color: $teal-500;
|
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
|
|
||||||
|
&.is-bof {
|
||||||
|
background-color: $teal-500;
|
||||||
|
|
||||||
|
@at-root .theme-dark & {
|
||||||
|
background-color: $teal-700;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.is-proposed {
|
||||||
|
background-color: $gray-500;
|
||||||
|
|
||||||
|
@at-root .theme-dark & {
|
||||||
|
background-color: $gray-700;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $bs5-break-md) {
|
@media screen and (max-width: $bs5-break-md) {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -1786,6 +1786,7 @@ def agenda_extract_schedule (item):
|
||||||
"type": item.session.type.slug,
|
"type": item.session.type.slug,
|
||||||
"purpose": item.session.purpose.slug,
|
"purpose": item.session.purpose.slug,
|
||||||
"isBoF": item.session.group_at_the_time().state_id == "bof",
|
"isBoF": item.session.group_at_the_time().state_id == "bof",
|
||||||
|
"isProposed": item.session.group_at_the_time().state_id == "proposed",
|
||||||
"filterKeywords": item.filter_keywords,
|
"filterKeywords": item.filter_keywords,
|
||||||
"groupAcronym": item.session.group_at_the_time().acronym,
|
"groupAcronym": item.session.group_at_the_time().acronym,
|
||||||
"groupName": item.session.group_at_the_time().name,
|
"groupName": item.session.group_at_the_time().name,
|
||||||
|
|
Loading…
Reference in a new issue