From 9052526264cbb47335c5aba251ddf0d1173b66a4 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sat, 26 May 2018 10:48:38 +0200 Subject: [PATCH] remove action buttons from proposal list, they can be found in the detail views, helps a lot with the width issues when things have long names --- .../templates/includes/event_proposal_table.html | 15 +++------------ .../includes/speaker_proposal_table.html | 13 +++---------- src/program/templates/speakerproposal_detail.html | 1 + 3 files changed, 7 insertions(+), 22 deletions(-) diff --git a/src/program/templates/includes/event_proposal_table.html b/src/program/templates/includes/event_proposal_table.html index 6d872a5a..a3b9e52d 100644 --- a/src/program/templates/includes/event_proposal_table.html +++ b/src/program/templates/includes/event_proposal_table.html @@ -20,18 +20,9 @@ {{ eventproposal.track.name }} {{ eventproposal.proposal_status }} - - Detail - {% if not camp.read_only %} - Modify - Add URL - {% if eventproposal.get_available_speakerproposals.exists %} - Add {{ eventproposal.event_type.host_title }} - {% else %} - Add {{ eventproposal.event_type.host_title }} - {% endif %} - {% endif %} + + Details + {% endfor %} diff --git a/src/program/templates/includes/speaker_proposal_table.html b/src/program/templates/includes/speaker_proposal_table.html index df4988a0..9269d28f 100644 --- a/src/program/templates/includes/speaker_proposal_table.html +++ b/src/program/templates/includes/speaker_proposal_table.html @@ -30,16 +30,9 @@ {{ speakerproposal.proposal_status }} - - Detail - {% if not camp.read_only %} - Modify - {% if eventproposal and eventproposal.speakers.count > 1 %} - Remove - {% endif %} - Add URL - {% endif %} + + Details + {% endfor %} diff --git a/src/program/templates/speakerproposal_detail.html b/src/program/templates/speakerproposal_detail.html index a8b657d5..eefe2892 100644 --- a/src/program/templates/speakerproposal_detail.html +++ b/src/program/templates/speakerproposal_detail.html @@ -34,6 +34,7 @@ {% else %} Nothing found. {% endif %} + Add New Event