diff --git a/kallithea/public/js/graph.js b/kallithea/public/js/graph.js --- a/kallithea/public/js/graph.js +++ b/kallithea/public/js/graph.js @@ -112,8 +112,9 @@ function BranchRenderer(canvas_id, conte extinct_node = cur[6]; unstable_node = cur[7]; - var firstincell = $(row).find('td>:visible')[0]; - var nextFirstincell = $(next).find('td>:visible')[0]; + // center dots on the first element in a td (not necessarily the first one, but there must be one) + var firstincell = $(row).find('td>*')[0]; + var nextFirstincell = $(next).find('td>*')[0]; var rowY = Math.floor(row.offsetTop + firstincell.offsetTop + firstincell.offsetHeight/2); var nextY = Math.floor((next == null) ? rowY + row.offsetHeight/2 : next.offsetTop + nextFirstincell.offsetTop + nextFirstincell.offsetHeight/2); diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -165,7 +165,7 @@ ${self.repo_context_bar('showpullrequest ${h.radio(name='updaterev', value='', checked=True)} %endif - ${_("Current revision - no change")} + ${_("Current revision - no change")} %else: %if editable and cs.revision in c.avail_revs: