comparison pylons_app/model/hg_model.py @ 281:cd2ee462fc2c

implemented yui tooltip, and added it into annotation and main page.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 13 Jun 2010 23:14:04 +0200
parents 5e59f29edf66
children 3a66e7421a99
comparison
equal deleted inserted replaced
280:373ddb868bd6 281:cd2ee462fc2c
146 tmp_d['tip_sort'] = tip.revision 146 tmp_d['tip_sort'] = tip.revision
147 tmp_d['rev'] = tip.revision 147 tmp_d['rev'] = tip.revision
148 tmp_d['contact'] = repo.contact 148 tmp_d['contact'] = repo.contact
149 tmp_d['contact_sort'] = tmp_d['contact'] 149 tmp_d['contact_sort'] = tmp_d['contact']
150 tmp_d['repo_archives'] = list(repo._get_archives()) 150 tmp_d['repo_archives'] = list(repo._get_archives())
151 tmp_d['last_msg'] = tip.message
151 152
152 yield tmp_d 153 yield tmp_d
153 154
154 def get_repo(self, repo_name): 155 def get_repo(self, repo_name):
155 return _get_repos_cached()[repo_name] 156 return _get_repos_cached()[repo_name]