Update event archive footer links

* Turn main links into buttons
* Have a link from the archive back to the upcoming events, not just in
  one direction.
* Write a paragraph about submitting events, similar to what was
  recently done for news.
This commit is contained in:
Magnus Hagander
2020-09-28 17:54:43 +02:00
parent 85947ebb55
commit e7395436c0

View File

@ -28,11 +28,11 @@ whatsoever.</em>
{{event.summary|markdown:"safe"|striptags}}
</div>
{%endfor%}
{%if not archive%}
<p><a href="/about/eventarchive/">Older events</a></p>
{%endif%}
{%if not archive%}
<p><a href="/account/events/new/">Submit event</a></p>
{%endif%}
<p><a class="btn btn-primary" href="/about/{{ archive|yesno:"events,eventarchive"}}/">{{ archive|yesno:"Upcoming,Past"}} events</a></p>
<p>
Events are organized by PostgreSQL related associations or third parties. If you wish to list an event related to
PostgreSQL, you may <a href="/account/events/new/">submit</a> your own events for consideration after logging in.
</p>
{%endblock%}