Mercurial > kallithea
diff rhodecode/lib/vcs/backends/base.py @ 2971:2bfcec6a3985 beta
new tooltip implementation
- added lazy loading of changeset tooltips for journal data
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 29 Oct 2012 21:18:14 +0100 |
parents | b6adef467e23 |
children | b84a4ec93ab6 |
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/base.py Sun Oct 28 22:56:48 2012 +0100 +++ b/rhodecode/lib/vcs/backends/base.py Mon Oct 29 21:18:14 2012 +0100 @@ -372,6 +372,15 @@ def __eq__(self, other): return self.raw_id == other.raw_id + def __json__(self): + return dict( + short_id=self.short_id, + raw_id=self.raw_id, + message=self.message, + date=self.date, + author=self.author, + ) + @LazyProperty def last(self): if self.repository is None: