Merge
ci/woodpecker/push/woodpecker Pipeline failed
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline failed
Podrobnosti
This commit is contained in:
revize
e2d206d245
|
@ -35,6 +35,9 @@
|
||||||
name: item ? item.name : contributor.name
|
name: item ? item.name : contributor.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
function isPast(date) {
|
||||||
|
return new Date() > new Date(date);
|
||||||
}
|
}
|
||||||
//console.log(filteredEvents);
|
//console.log(filteredEvents);
|
||||||
</script>
|
</script>
|
||||||
|
@ -69,9 +72,9 @@
|
||||||
<section class="text-white bg-black body-font overflow-hidden">
|
<section class="text-white bg-black body-font overflow-hidden">
|
||||||
<div class="container px-5 py-24 mx-auto">
|
<div class="container px-5 py-24 mx-auto">
|
||||||
{#each filteredEvents as evt}
|
{#each filteredEvents as evt}
|
||||||
<div class="py-8 divide-y-2 divide-gray-800">
|
<div class="py-8 divide-y-2 divide-gray-800 {isPast(evt.datetime) && 'hidden'}">
|
||||||
<div class=" flex flex-wrap md:flex-nowrap">
|
<div class=" flex flex-wrap md:flex-nowrap">
|
||||||
{#if evt.eventtype === 'Key'}
|
{#if evt.eventType === 'Catering'}
|
||||||
<div class="md:w-64 md:mb-0 flex-shrink-0 flex flex-col border-l-4 border-white pl-2">
|
<div class="md:w-64 md:mb-0 flex-shrink-0 flex flex-col border-l-4 border-white pl-2">
|
||||||
<span class="font-bold title-font px-2 ">{getTiming(evt.datetime, evt.duration)}</span
|
<span class="font-bold title-font px-2 ">{getTiming(evt.datetime, evt.duration)}</span
|
||||||
>
|
>
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu