public inbox for [email protected]
help / color / mirror / Atom feedFrom: Magnus Hagander <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: PostgreSQL www <[email protected]>
Subject: Re: Community events and badges
Date: Mon, 11 Oct 2021 20:14:15 +0200
Message-ID: <CABUevExNxjT6i6Q8GuSbhbCShR1mgOfqj0nDGDeLc8qAsi_hBw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On Mon, Oct 11, 2021 at 7:52 PM Bruce Momjian <[email protected]> wrote:
> We currently have two Postgres events listed on our home page:
>
> https://www.postgresql.org/
>
> The text is:
>
> Upcoming Events
>
> 2021-11-30 – 2021-12-01 · Postgres Build 2021: Virtual Event
> (*) 2021-12-02 – 2021-12-03 · PGConf NYC 2021
>
> (*) PostgreSQL Community Event indicates that an event is
> recognised under
> the community event guidelines and is directly helping the
> PostgreSQL
> community.
>
> There is a yellow community badge next to the second event, shown above
> as "*". However, when I click on the second event:
>
> https://www.postgresql.org/about/event/pgconf-nyc-2021-2412/
>
> there is no yellow badge or description. Is it intended to show the
> community recognition badge on the on the event list and not on the
> event page?
>
That does seem a bit silly.
I suggest something like the attached.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;
Attachments:
[text/x-patch] badged_event.patch (738B, 3-badged_event.patch)
download | inline diff:
diff --git a/templates/events/item.html b/templates/events/item.html
index 81eb42d0..00fa6535 100644
--- a/templates/events/item.html
+++ b/templates/events/item.html
@@ -6,6 +6,7 @@
<div class="eventdate">Date: <strong>{{obj.displaydate|safe}}</strong></div>
<div>Location: {{obj.locationstring}}</div>
{%if obj.language%}<div>Language: {{obj.language}}</div>{%endif%}
+{%if obj.badged%}<img src="/media/img/PostgreSQL_Badge1.svg" class="community" alt="PostgreSQL Community Event"> This event is recognised under the <a href="/about/policies/conferences/">community event guidelines</a>.{%endif%}
{{obj.details|markdown}}
{%if obj.has_organisation%}
<p>Posted by {{obj.org}}{%if obj.org.email%} ({{obj.org.email}}){%endif%}.</p>
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Community events and badges
In-Reply-To: <CABUevExNxjT6i6Q8GuSbhbCShR1mgOfqj0nDGDeLc8qAsi_hBw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox