diff --git a/rhodecode/controllers/shortlog.py b/rhodecode/controllers/shortlog.py --- a/rhodecode/controllers/shortlog.py +++ b/rhodecode/controllers/shortlog.py @@ -53,6 +53,8 @@ class ShortlogController(BaseRepoControl c.repo_changesets = RepoPage(c.rhodecode_repo, page=p, items_per_page=size, url=url_generator) + page_revisions = [x.raw_id for x in list(c.repo_changesets)] + c.statuses = c.rhodecode_db_repo.statuses(page_revisions) if not c.repo_changesets: return redirect(url('summary_home', repo_name=repo_name)) diff --git a/rhodecode/controllers/summary.py b/rhodecode/controllers/summary.py --- a/rhodecode/controllers/summary.py +++ b/rhodecode/controllers/summary.py @@ -78,6 +78,8 @@ class SummaryController(BaseRepoControll c.repo_changesets = RepoPage(c.rhodecode_repo, page=1, items_per_page=10, url=url_generator) + page_revisions = [x.raw_id for x in list(c.repo_changesets)] + c.statuses = c.rhodecode_db_repo.statuses(page_revisions) if self.rhodecode_user.username == 'default': # for default(anonymous) user we don't need to pass credentials diff --git a/rhodecode/templates/shortlog/shortlog_data.html b/rhodecode/templates/shortlog/shortlog_data.html --- a/rhodecode/templates/shortlog/shortlog_data.html +++ b/rhodecode/templates/shortlog/shortlog_data.html @@ -12,7 +12,22 @@ %for cnt,cs in enumerate(c.repo_changesets): -
r${cs.revision}:${h.short_id(cs.raw_id)}
+
+
+ %if c.statuses.get(cs.raw_id): +
+ %if c.statuses.get(cs.raw_id)[2]: + + + + %else: + + %endif +
+ %endif +
+
r${cs.revision}:${h.short_id(cs.raw_id)}
+
${h.link_to(h.truncate(cs.message,50) or _('No commit message'),