Re: Manage lists in pglister

From: Andreas 'ads' Scherbaum <ads(at)pgug(dot)de>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Manage lists in pglister
Date: 2022-10-04 23:07:01
Message-ID: 2de3e8a1-6aa1-0666-56b3-c85a05dabbe4@pgug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 29/09/2022 22:16, Magnus Hagander wrote:
> On Wed, Sep 28, 2022 at 12:50 AM Andreas 'ads' Scherbaum <ads(at)pgug(dot)de>
> wrote:
>
>
> Hello,
>
> small update for pglister: add "Manage lists" button on the main page.
>
> Right now an admin has to click on "Manage subscriptions" and scroll
> down to find the button for managing lists. This adds a more
> convenient
> button on the main page.
>
>
> How does this work? I don't understand how "is_moderator"  makes it
> into the template?

Not having a test environment or CI makes this a bit complicated.

Updated patch attached.

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

Attachment Content-Type Size
manage_lists.patch text/x-patch 1.5 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2022-10-10 16:07:52 Dark mode styling for the website
Previous Message Joe Conway 2022-10-03 16:48:25 Re: wiki access