From 61d21d38bb86581373a26ca8ef2188c7a4d19ffd Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Wed, 25 Jan 2017 09:30:54 +0100 Subject: [PATCH] Make Fellowship list togglable --- scipost/templates/scipost/VGM_detail.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scipost/templates/scipost/VGM_detail.html b/scipost/templates/scipost/VGM_detail.html index a330b3fd7..69b5a2247 100644 --- a/scipost/templates/scipost/VGM_detail.html +++ b/scipost/templates/scipost/VGM_detail.html @@ -14,6 +14,11 @@ $(document).ready(function(){ $(this).next("form").toggle(); }); + $("#FellowshipListing").hide(); + $("#FellowshipListingButton").click( function() { + $("#FellowshipListing").toggle(); + }); + $("#submitNominationForm").hide(); $("#submitNominationButton").click( function() { $(this).next("form").toggle(); @@ -137,7 +142,8 @@ $(document).ready(function(){ </form> </div> </div> - <div class="row"> + <button id="FellowshipListingButton">View/hide Fellows and Invitations listings</button> + <div class="row" id="FellowshipListing"> <div class="col-6"> <div class="flex-container"> <div class="flex-greybox"> -- GitLab