Обсуждение: Manage lists in pglister

Поиск
Список
Период
Сортировка

Manage lists in pglister

От
Andreas 'ads' Scherbaum
Дата:
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.


Regards,

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

Вложения

Re: Manage lists in pglister

От
Magnus Hagander
Дата:
On Wed, Sep 28, 2022 at 12:50 AM Andreas 'ads' Scherbaum <ads@pgug.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?

--

Re: Manage lists in pglister

От
Andreas 'ads' Scherbaum
Дата:
On 29/09/2022 22:16, Magnus Hagander wrote:
On Wed, Sep 28, 2022 at 12:50 AM Andreas 'ads' Scherbaum <ads@pgug.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
Вложения

Re: Manage lists in pglister

От
Andreas 'ads' Scherbaum
Дата:
On 05/10/2022 01:07, Andreas 'ads' Scherbaum wrote:
On 29/09/2022 22:16, Magnus Hagander wrote:
On Wed, Sep 28, 2022 at 12:50 AM Andreas 'ads' Scherbaum <ads@pgug.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.

@Magnus?

Input on this patch is appreciated.


Thanks

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