From 27ae211e39cdb57d5bab30fc97ab75060ca46afe 2018-06-30 03:32:18 From: William Hughes Date: 2018-06-30 03:32:18 Subject: [PATCH] Fix co-presenter invites styling --- diff --git a/pinaxcon/templates/symposion/proposals/_pending_proposal_row.html b/pinaxcon/templates/symposion/proposals/_pending_proposal_row.html index 411c02c48d291d9627dde977b8d8719193877697..9c8dd36798049ed02bee3f8c5c3aa047947275f5 100644 --- a/pinaxcon/templates/symposion/proposals/_pending_proposal_row.html +++ b/pinaxcon/templates/symposion/proposals/_pending_proposal_row.html @@ -1,37 +1,45 @@ {% load i18n %} -
-
-
-
{{ proposal.title }}
-
-
-
    -
  • Type: {{ proposal.kind.name }}
  • -
  • - Status: - {% if proposal.cancelled %} - Cancelled - {% else %} - {% if request.user == proposal.speaker.user %} - {% if proposal.result.status == "accepted" %} - Accepted - {% else %} - Submitted - {% endif %} - {% else %} - Invited - {% endif %} - {% endif %} -
  • -
-
- View Details - {% if not proposal.cancelled %} - Accept Copresenter Invitation - Decline Copresenter Invitation - {% endif %} -
-
+{% if proposal.result.status == "accepted" %} +
+{% elif proposal.result.status == "rejected" %} +
+{% elif proposal.result.status == "standby" %} +
+{% else %} +
+{% endif %} +
+

{{ proposal.title }}

+
+

+

    +
  • Type: {{ proposal.kind.name }}
  • +
  • + Status: + {% if proposal.cancelled %} + Cancelled + {% else %} + {% if request.user == proposal.speaker.user %} + {% if proposal.result.status == "accepted" %} + Accepted + {% else %} + Submitted + {% endif %} + {% else %} + Invited + {% endif %} + {% endif %} +
  • +
+

+
+
+
-