From 0ea0b0c439a91082745518063055c7e2f45a4321 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 28 Apr 2022 01:00:01 +0000 Subject: [PATCH 1/3] sneed --- schema.sql | 9 --------- 1 file changed, 9 deletions(-) diff --git a/schema.sql b/schema.sql index 776626c762..97f9701319 100644 --- a/schema.sql +++ b/schema.sql @@ -1883,12 +1883,3 @@ ALTER TABLE ONLY public.viewers ALTER TABLE ONLY public.votes ADD CONSTRAINT vote_submission_key FOREIGN KEY (submission_id) REFERENCES public.submissions(id); - - --- --- Name: votes vote_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.votes - ADD CONSTRAINT vote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id); - From 868bee9e203e54542fd483c3febd77f447037404 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 28 Apr 2022 02:00:02 +0000 Subject: [PATCH 2/3] sneed --- schema.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/schema.sql b/schema.sql index 97f9701319..776626c762 100644 --- a/schema.sql +++ b/schema.sql @@ -1883,3 +1883,12 @@ ALTER TABLE ONLY public.viewers ALTER TABLE ONLY public.votes ADD CONSTRAINT vote_submission_key FOREIGN KEY (submission_id) REFERENCES public.submissions(id); + + +-- +-- Name: votes vote_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY public.votes + ADD CONSTRAINT vote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id); + From 3e8e299fb8f4303795f02f545df53ad9c75c3d72 Mon Sep 17 00:00:00 2001 From: TLSM <104547575+TLSM@users.noreply.github.com> Date: Thu, 28 Apr 2022 17:58:41 -0400 Subject: [PATCH 3/3] Add dynamic journoid banner text. (#232) The .srd header banner currently has fixed text. However, there have been many gayops which have made the news. journoid_banner.html is a dynamic template which selects a random one to present. Also, stylesheets and markup for the banner have been unslurred. --- files/templates/header.html | 5 +---- files/templates/journoid_banner.html | 30 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 files/templates/journoid_banner.html diff --git a/files/templates/header.html b/files/templates/header.html index 2d2844238f..e2a1794087 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -21,12 +21,9 @@ {% endif %} {% if SITE_NAME == 'rDrama' %} - + {% include "journoid_banner.html" %} {% endif %} -