comparison MoinMoin/themes/__init__.py @ 2683:5a6660508036

Changed the order of items in blog meta data view and also removed unnecessary show/modify option in Global index
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Fri, 01 Aug 2014 17:51:20 +0530
parents e130fc605c63
children b8680cd6cf91
comparison
equal deleted inserted replaced
2682:215f9b88f885 2683:5a6660508036
81 self.content_dir = 'ltr' # XXX 81 self.content_dir = 'ltr' # XXX
82 self.meta_items = [] # list of (name, content) for html head <meta> 82 self.meta_items = [] # list of (name, content) for html head <meta>
83 83
84 def get_action_tabs(self, fqname, current_endpoint): 84 def get_action_tabs(self, fqname, current_endpoint):
85 85
86 if not fqname: 86 if not fqname or not fqname.value:
87 return [] 87 return []
88 88
89 # TODO: Need to add fqname support to has_item in indexing.py 89 # TODO: Need to add fqname support to has_item in indexing.py
90 exists = bool(flaskg.storage.get_item(**fqname.query)) 90 exists = bool(flaskg.storage.get_item(**fqname.query))
91 91