[debexpo-devel] [debexpo] [PATCH 2/2] Only show the new comment heading when logged in.
Paul Wise
pabs at debian.org
Sat Aug 13 10:24:07 CEST 2011
---
debexpo/templates/package/index.mako | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debexpo/templates/package/index.mako b/debexpo/templates/package/index.mako
index d9ed3d4..75e0522 100644
--- a/debexpo/templates/package/index.mako
+++ b/debexpo/templates/package/index.mako
@@ -196,10 +196,10 @@
% endif
-<h3>New comment</h3>
-
% if 'user_id' in c.session:
+<h3>New comment</h3>
+
${ h.html.tags.form(h.url('comment', packagename=c.package.name)) }
${ h.html.tags.hidden('package_version', package_version.id) }
${ h.html.tags.textarea('text', size='82x10') }
--
1.7.5.4
More information about the debexpo-devel
mailing list