app/templates/projrev/error.html
changeset 8 294ff7ac9cb6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/templates/projrev/error.html	Thu Aug 06 20:20:36 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