From a475dd5687fbb93574c342770e1b723bdbf8bdc7 Mon Sep 17 00:00:00 2001 From: Mark Musante Date: Fri, 15 Aug 2025 19:49:36 -0400 Subject: [PATCH] Add a button to hide or show content warning text --- IFComp/root/src/_current_entry_row.tt | 4 +++- IFComp/root/src/ballot/index.tt | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/IFComp/root/src/_current_entry_row.tt b/IFComp/root/src/_current_entry_row.tt index c05c0723..327ac764 100644 --- a/IFComp/root/src/_current_entry_row.tt +++ b/IFComp/root/src/_current_entry_row.tt @@ -30,7 +30,9 @@ [% END %] [% IF entry.warning %] -

Content warning: [% entry.warning | html %]

+

Content warning: + [% entry.warning | html %](Hidden) +

[% END %] diff --git a/IFComp/root/src/ballot/index.tt b/IFComp/root/src/ballot/index.tt index b2b9d933..ac8e3a65 100644 --- a/IFComp/root/src/ballot/index.tt +++ b/IFComp/root/src/ballot/index.tt @@ -1,3 +1,7 @@ + +

Download and Play

The Games of the [% current_comp.year %] IFComp

@@ -288,6 +292,12 @@ you have played so far.[% END %]

NOTE: you can use Ctrl-click / ⌘-Click to select multiple items from the lists above. Clicking on "All" at the top will clear the selections

+
+
+ Show/Hide all Content Warning text +
+
+ [% FOR entry IN entries %] [% IF entry.is_qualified %]