From 0e62e908826057687d9276a8a7803e2f104a50af Mon Sep 17 00:00:00 2001 From: svyeh Date: Sun, 14 Apr 2024 21:15:44 +0800 Subject: [PATCH 1/8] fix-table-style --- .../users/_includes/dashboard_cospeaking_proposal_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html b/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html index 03d96b984..ebbafab4d 100644 --- a/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html +++ b/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html @@ -1,6 +1,6 @@ {% load i18n %} - +
From 8eb27285214d48973b511f3028aa09c6453857f1 Mon Sep 17 00:00:00 2001 From: svyeh Date: Wed, 24 Apr 2024 15:57:33 +0800 Subject: [PATCH 2/8] feat-hide buttons Hide the form for co-speaker that contains buttons of decision Accepted/Declined selection. --- .../users/_includes/dashboard_cospeaking_proposal_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html b/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html index ebbafab4d..6640d619c 100644 --- a/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html +++ b/src/templates/default/users/_includes/dashboard_cospeaking_proposal_table.html @@ -34,7 +34,7 @@
{% trans 'Title' %}{{ speaker_info.get_status_display }}
+ action="{% url 'additional_speaker_set_status' pk=speaker_info.pk %}" hidden> {% csrf_token %} {% if speaker_info.status != 'accepted' %}
{{ speaker_info.get_status_display }} + action="{% url 'additional_speaker_set_status' pk=speaker_info.pk %}"> {% csrf_token %} {% if speaker_info.status != 'accepted' %}