busao
    Preparing search index...

    Function renderWaitlistPage

    • Builds the "Waitlist" page with internationalisation.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • database: BunSQLiteDatabase

        The project's database.

      • date: Date

        The date the trips were registered in.

      • openingHour: number

        The hour the website actually becomes available.

      Returns Response

      A semantic HTML page with waitlist tables for each of the available directions at the right time. Otherwise, a "Too Early" page.

      The "Waitlist" page is similar to the "Index" page. It differs from the fact that the tables on this page only display people on the waitlist by trip, and its lack of form.

      Shows trips by date.

      If the user reaches the page before the opening hour, a "Too Early" page is shown.