Added easier link to new posts, for logged in users.

This commit is contained in:
David Rubin 2010-01-18 22:50:47 +02:00
parent 35ece0ef38
commit 75b679b23a
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<li><a href="${page.url}">${page.name}</a></li>
% endfor
% if c.current_user:
<li><a href="${h.url_for('/post/new')}">New</a></li>
<li><a href="${h.url_for('/admin/logout')}">Logout</a></li>
% else:
<li><a href="${h.url_for('/admin/login')}">Login</a></li>