# HG changeset patch # User Angel Ezquerra # Date 1456052683 -3600 # Node ID b1bec568c0a26a9701d559dde0067867ba036c1c # Parent 494989b0ce724683221d02fde1bd0e90666cb4a9 summary, changelog: add reviewer username to status change tooltips Change the status change (circle) icon tooltips from "Changeset status: NEW_STATE" to "Changeset status: NEWSTATE by REVIEWER_USERNAME". This makes it much faster to check who is reviewing what and who approved or rejected what. diff -r 494989b0ce72 -r b1bec568c0a2 kallithea/model/db.py --- a/kallithea/model/db.py Sun Feb 21 10:43:53 2016 +0100 +++ b/kallithea/model/db.py Sun Feb 21 12:04:43 2016 +0100 @@ -1418,7 +1418,8 @@ pr_nice_id = PullRequest.make_nice_id(pr_id) pr_repo = stat.pull_request.other_repo.repo_name grouped[stat.revision] = [str(stat.status), stat.status_lbl, - pr_id, pr_repo, pr_nice_id] + pr_id, pr_repo, pr_nice_id, + stat.author] return grouped def _repo_size(self): diff -r 494989b0ce72 -r b1bec568c0a2 kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html Sun Feb 21 10:43:53 2016 +0100 +++ b/kallithea/templates/changelog/changelog.html Sun Feb 21 12:04:43 2016 +0100 @@ -89,11 +89,12 @@ %if c.statuses.get(cs.raw_id):
%if c.statuses.get(cs.raw_id)[2]: - + %else: - + %endif diff -r 494989b0ce72 -r b1bec568c0a2 kallithea/templates/changelog/changelog_summary_data.html --- a/kallithea/templates/changelog/changelog_summary_data.html Sun Feb 21 10:43:53 2016 +0100 +++ b/kallithea/templates/changelog/changelog_summary_data.html Sun Feb 21 12:04:43 2016 +0100 @@ -17,11 +17,12 @@ %if c.statuses.get(cs.raw_id): %if c.statuses.get(cs.raw_id)[2]: - + %else: - + %endif