diff lookup.py @ 20:a8887fb93676

hide share data from the public. bug in links filter box Ignore-this: 2a390b207b8e9c8d430acd268b6d765d
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 17 Mar 2013 01:03:43 -0700
parents d44d3e4d415b
children 8008ec2fd763
line wrap: on
line diff
--- a/lookup.py	Sun Mar 17 00:49:27 2013 -0700
+++ b/lookup.py	Sun Mar 17 01:03:43 2013 -0700
@@ -153,6 +153,7 @@
     data['toRoot'] = toRoot
     data['allTags'] = allTags(user)
     data['user'] = user
+    data['showPrivateData'] = (user == getUser()[0])
 
     data['pageTags'] = [{"word":t} for t in tags]
     data['stats']['template'] = 'TEMPLATETIME'