--- a/app/templates/projrev/base.html Thu Aug 06 18:49:06 2009 +0530
+++ b/app/templates/projrev/base.html Thu Aug 06 20:20:36 2009 +0530
@@ -41,36 +41,39 @@
{% block sidebar %}
<div id="sidebar" >
-
- <div class="sidebox">
-
- <h1>Short About</h1>
-
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
- Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
- posuere nunc justo tempus leo.</p>
-
- </div>
-
<div class="sidebox">
<h1>Links</h1>
<ul class="sidemenu">
{% if user.is_authenticated %}
- <p>Welcome, {{ user.username }}. Thanks for logging in.</p>
-{% else %}
- <p>Welcome, new user. Please log in.</p>
-{% endif %}
-
- <li><a href="http://www.dreamhost.com/r.cgi?287326" class="top">Dreamhost</a></li>
- <li><a href="http://www.4templates.com/?aff=ealigam">4templates</a></li>
- <li><a href="http://store.templatemonster.com/?aff=ealigam">TemplateMonster</a></li>
- <li><a href="http://www.fotolia.com/partner/114283">Fotolia.com</a></li>
- <li><a href="http://www.text-link-ads.com/?ref=40025">Text Link Ads</a></li>
+ <li>Welcome, {{ user.username }}</li>
+ <li><a href="/logout/" class="top">Logout</a></li>
+ {% if user.is_staff%}
+ <li><a href="/proposal/review/" class="top">Review Proposals</a></li>
+ {% else %}
+ <li><a href="/proposal/submit/" class="top">Create/Edit Proposals</a></li>
+ {% endif %}
+ {% else %}
+ <li>Welcome, new user. Please log in.</li>
+ <li><a href="/login/" class="top">Login</a></li>
+ {% endif %}
+
+
+
+
</ul>
</div>
-
+
+ <div class="sidebox">
+
+ <h1>Short About</h1>
+
+ <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
+ Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
+ posuere nunc justo tempus leo.</p>
+
+ </div>
<div class="sidebox">
<h1>Search Box</h1>