From ce5d6c7e5641a286e169fd1763e3ee97b4f21801 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Klie Date: Tue, 27 Oct 2020 23:35:33 +0100 Subject: [PATCH 1/3] #9 - Initial sponsor booth update - Fix layout --- ...oogle_Research.png => google_research.png} | Bin templates/sponsors.html | 36 +++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) rename static/images/sponsors/{Google_Research.png => google_research.png} (100%) diff --git a/static/images/sponsors/Google_Research.png b/static/images/sponsors/google_research.png similarity index 100% rename from static/images/sponsors/Google_Research.png rename to static/images/sponsors/google_research.png diff --git a/templates/sponsors.html b/templates/sponsors.html index ed5886d..c7178c2 100644 --- a/templates/sponsors.html +++ b/templates/sponsors.html @@ -24,25 +24,27 @@
{% for sponsor_level in sponsor_levels %} -
-

{{ sponsor_level }}

-
-
+ {% if sponsors[sponsor_level] | length > 0 %} +
+

{{ sponsor_level }}

+
+
- {% for sponsor in sponsors[sponsor_level] %} - {% if sponsor.landingpage is defined %} - - {% else %} - - {% endif %} -
From 93cae4e0417621699da0d44de3d82e95f3e0e2f8 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Klie Date: Tue, 27 Oct 2020 23:42:36 +0100 Subject: [PATCH 2/3] #9 - Initial sponsor booth update - Fix time for sponsor schedules --- miniconf/load_site_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniconf/load_site_data.py b/miniconf/load_site_data.py index ce998d5..9fddd00 100644 --- a/miniconf/load_site_data.py +++ b/miniconf/load_site_data.py @@ -800,7 +800,7 @@ def build_sponsors(site_data, by_uid, display_time_format) -> None: end = start + timedelta(hours=session["duration"]) else: end = session["end"].astimezone(pytz.timezone("GMT")) - day = start.strftime("%A") + day = start.strftime("%A, %b %d") start_time = start.strftime(display_time_format) end_time = end.strftime(display_time_format) time_string = "{} ({}-{} GMT)".format(day, start_time, end_time) From a3abe38343c942a16487ea8d2117d0f531525ae5 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Klie Date: Tue, 27 Oct 2020 23:53:11 +0100 Subject: [PATCH 3/3] #9 - Initial sponsor booth update - Change rocketchat url --- sitedata/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitedata/config.yml b/sitedata/config.yml index 8b7d5ce..446add2 100644 --- a/sitedata/config.yml +++ b/sitedata/config.yml @@ -20,7 +20,7 @@ paper_images_path: https://acl2020-public.s3.amazonaws.com/papers default_presentation_id: 38931484 # Remove or change to your chat server. -chat_server: acl2020.rocket.chat +chat_server: emnlp2020.rocket.chat calendar: start: '2020-11-16'