From baa81d0e2e2d323c90c55ebba7b66dd0dc04a99e Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 25 Sep 2014 14:21:49 +0530 Subject: Fixed minor problems before deploying the automated proposal --- tbc/templates/tbc/review-proposal.html | 7 +++++-- tbc/templates/tbc/submit-sample.html | 15 +++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'tbc/templates') diff --git a/tbc/templates/tbc/review-proposal.html b/tbc/templates/tbc/review-proposal.html index c0ea983..f4ab9b3 100644 --- a/tbc/templates/tbc/review-proposal.html +++ b/tbc/templates/tbc/review-proposal.html @@ -71,11 +71,14 @@ {% ifequal proposal.proposal.status "samples" %} {% if proposal.sample.sample_notebook %}
sample notebook
+ Disapprove Samples + Alot Book {% else %}
Contributor has not submitted sample notebook yet.
{% endif %} - Disapprove Samples - Alot Book + {% endifequal %} + {% ifequal proposal.proposal.status "sample disapproved" %} +
Samples have been disapproved. Contributor has not resubmitted sample notebook yet.
{% endifequal %} {% endfor %} diff --git a/tbc/templates/tbc/submit-sample.html b/tbc/templates/tbc/submit-sample.html index 96f1209..404ede5 100644 --- a/tbc/templates/tbc/submit-sample.html +++ b/tbc/templates/tbc/submit-sample.html @@ -2,10 +2,9 @@ {% block script %} @@ -24,10 +27,10 @@ function validate_content() {% block content %}
-
You are uploading sample notebook for the book {{ proposal.accepted }} by {{ proposal.accepted.author }}
+
You are uploading sample notebook for the book
{{ proposal.accepted }} by {{ proposal.accepted.author }}

Only .ipynb files are acceptable

{% if has_old %} -
+ {% csrf_token %} @@ -36,7 +39,7 @@ function validate_content()
{% else %} -
+ {% csrf_token %} -- cgit