From e7c6055b3fc6f9910d59791d4f34967b15e5927d 2012-09-08 23:07:34
From: James Tauber
Date: 2012-09-08 23:07:34
Subject: [PATCH] added cancel and disable next
---
diff --git a/symposion/templates/reviews/result_notification.html b/symposion/templates/reviews/result_notification.html
index 37e2946215f0a3df8d6ab8aae9eee3e6bfc802c6..655a3cb5b146a836e148e8bfb35f6c6b98d0641c 100644
--- a/symposion/templates/reviews/result_notification.html
+++ b/symposion/templates/reviews/result_notification.html
@@ -28,7 +28,7 @@
{% endfor %}
-
+
@@ -93,6 +93,11 @@
}
return value;
});
+ if (sel == 0) {
+ $("#next-button").prop("disabled", true);
+ } else {
+ $("#next-button").prop("disabled", false);
+ }
}
// Check state of checkboxes and reinit state if needed
$(this).filter(":checked").each(function(i) {
diff --git a/symposion/templates/reviews/result_notification_prepare.html b/symposion/templates/reviews/result_notification_prepare.html
index c417a18abff748266f1836874d622846fd7a16f2..1a14d56397ed625b4867a4433a8b827d0af4dc62 100644
--- a/symposion/templates/reviews/result_notification_prepare.html
+++ b/symposion/templates/reviews/result_notification_prepare.html
@@ -37,6 +37,7 @@
replaced with the title of the proposal when the email is sent.
+ Cancel