app/templates/projrev/error.html
changeset 34 21942fac2b4b
parent 8 294ff7ac9cb6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/templates/projrev/error.html	Mon Aug 10 16:38:13 2009 +0530
@@ -0,0 +1,27 @@
+{% extends "projrev/base.html" %}
+{% block content %}
+<div class="post">
+			
+	<a name="TemplateInfo"></a>	
+	<h1>Access Error</h1>
+
+	<form enctype="multipart/form-data" method="post" action="">			
+    {% if not_staff %}
+      <div class="access-error">
+        <p>You are not a reviewer to access this page.</p>
+      </div>
+    {% endif %}
+    {% if not_proposer %}
+      <div class="access-error">
+        <p>You are a reviewer to and cannot submit a proposal.</p>
+      </div>
+    {% endif %}
+    {% if not_authenticated %}
+      <div class="access-error">
+        <p>You are not logged in.</p>
+      </div>
+    {% endif %}
+	</form>
+				
+</div>
+{% endblock content %}
\ No newline at end of file