comparison pylons_app/lib/helpers.py @ 512:d945c95ba4ac

refactoring for new vcs implementation renamed all ._short and .raw_id into .short_id updated dependency for vcs to 0.1.6
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 28 Sep 2010 20:25:58 +0000
parents 5aba7adff196
children
comparison
equal deleted inserted replaced
511:0fce1f9e4dce 512:d945c95ba4ac
269 269
270 tooltip_html = tooltip_html % (changeset.author, 270 tooltip_html = tooltip_html % (changeset.author,
271 changeset.date, 271 changeset.date,
272 tooltip(changeset.message)) 272 tooltip(changeset.message))
273 lnk_format = 'r%-5s:%s' % (changeset.revision, 273 lnk_format = 'r%-5s:%s' % (changeset.revision,
274 changeset.raw_id) 274 changeset.short_id)
275 uri = link_to( 275 uri = link_to(
276 lnk_format, 276 lnk_format,
277 url('changeset_home', repo_name=changeset.repository.name, 277 url('changeset_home', repo_name=changeset.repository.name,
278 revision=changeset.raw_id), 278 revision=changeset.short_id),
279 style=get_color_string(changeset.raw_id), 279 style=get_color_string(changeset.short_id),
280 class_='tooltip', 280 class_='tooltip',
281 tooltip_title=tooltip_html 281 tooltip_title=tooltip_html
282 ) 282 )
283 283
284 uri += '\n' 284 uri += '\n'